Changes between Version 4 and Version 5 of Ticket #29724, comment 9


Ignore:
Timestamp:
Sep 3, 2019, 4:57:29 PM (5 years ago)
Author:
yab

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29724, comment 9

    v4 v5  
    3131{{{
    3232                                elif month:
     33                                        to_date = (from_date + timedelta(days=32)).replace(day=1)
    3334                                        if settings.USE_TZ:
    34                                                 to_date = make_aware((from_date + timedelta(days=32)).replace(day=1,tzinfo=None))
    35                                         else:
    36                                                 to_date = (from_date + timedelta(days=32)).replace(day=1)
     35                                                to_date = make_aware(to_date.replace(tzinfo=None))
    3736}}}
Back to Top