Edgewall Software

Changes between Initial Version and Version 1 of Ticket #10864, comment 2


Ignore:
Timestamp:
Oct 5, 2012, 6:02:20 PM (7 years ago)
Author:
Jun Omae

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10864, comment 2

    initial v1  
    3131+        if default_due <= now:
    3232+            default_due = req.tz.normalize(default_due + timedelta(days=1))
    33 +        if default_due.hour != 18: # if across a DST boundary
    34 +            default_due += timedelta(hours=18 - default_due.hour)
     33+            if default_due.hour != 18: # if across a DST boundary
     34+                default_due += timedelta(hours=18 - default_due.hour)
    3535+
    3636         data = {