WIP dateformat compilation -- fixes day of week compilation