changed date format to "minutes since beginning of week" for easier calculations