Changes between Version 4 and Version 5 of Ticket #29724, comment 9
- Timestamp:
- Sep 3, 2019, 4:57:29 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29724, comment 9
v4 v5 31 31 {{{ 32 32 elif month: 33 to_date = (from_date + timedelta(days=32)).replace(day=1) 33 34 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)) 37 36 }}}