Menu

#12 Edit Page - Wrong Timestamp Range

open
nobody
None
5
2007-05-17
2007-05-17
No

timeedit.php is only selecting punchitems up unitl 2pm on the day i select.

Add & Delete work fine, its just Edit that doesn't work

I'm using 24 hour time format, GMT +10 timezone and euro calendar.

Discussion

  • Ryan Williams

    Ryan Williams - 2007-05-17

    Logged In: YES
    user_id=1239348
    Originator: YES

    in edittime.php on or around line 633

    $timestamp = strtotime($post_date) - @$tzo;
    $calc = $timestamp + 86400 - @$tzo;

    You're subtracting the timezone twice.

     
  • Ryan Williams

    Ryan Williams - 2007-05-18

    Logged In: YES
    user_id=1239348
    Originator: YES

    Same problem on or around line 388

    Changing these lines fixed it for me.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.