Modify ↓
Opened 17 years ago
Closed 17 years ago
#2325 closed defect (fixed)
Date error.
Reported by: | Owned by: | Bhuricha Deen Sethanandha | |
---|---|---|---|
Priority: | normal | Component: | TracMetrixPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description (last modified by )
In web_ui.py I changed last_day_of_month to cope with values less than 1 or exceeding 12 as follows:
def last_day_of_month(year, month):
return datetime(year, (month%12)+1, 1, tzinfo=utc) - timedelta(days=1)
Attachments (0)
Change History (2)
comment:1 Changed 17 years ago by
Component: | TracHacks → TracMetrixPlugin |
---|---|
Owner: | changed from Alec Thomas to Bhuricha Deen Sethanandha |
Trac Release: | 0.10 → 0.11 |
comment:2 Changed 17 years ago by
Description: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Thanks for the patch