Menu

#44 Date Problem in October

open
nobody
None
5
2012-09-14
2005-11-07
duncs
No

If you set the 'Week Start Day' to Sunday then access
the Simple Timesheet, there is a problem with the start
date for week commencing 30th October. It somehow
sets itself to W/C 29th (Saturday) which throws the data
entry off by 1 day.

Problem is replicated in your online demo.

This ONLY seems to happen in October 2005 (?). If
your 'Week Start Day' is set to Monday then things
work OK.

Possibly Daylight Savings Issue (?) or just coincidence?

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Same problem in October 2006. Anyone have a fix?

     
  • Nobody/Anonymous

    Logged In: NO

    Confirmed to happen in 2006 as well, and does seem to be
    related to Daylight Savings. Is this project being worked on
    anymore??

     
  • Nobody/Anonymous

    Logged In: NO

    Daylight savings time. I just had the same problem again after switching back in March 2008. Enter time for the week using "Daily Timesheet" instead of "Simple Timesheet" as work around.

     
  • Nobody/Anonymous

    Around line 217 in the source if you change the line from:

    $currentDayDate = $firstPrintedDate;

    to $currentDayDate = $firstPrintedDate + 10800;

    It causes the days to be printed based on 3AM which is perfect for Daylight Savings Time

     

Log in to post a comment.

MongoDB Logo MongoDB