added function for weekly aggregated time with xbrl status