Bugfix in weekDay() for times near 00:00:00 with certain machine time zones