Ticket #2325 (closed defect: fixed)

Opened 2 years ago

Last modified 1 year ago

Date error.

Reported by: edward.chwieseni@moffitt.org Assigned to: khundeen
Priority: normal Component: TracMetrixPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description (Last modified by khundeen)

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

Change History

12/19/07 22:00:38 changed by anonymous

  • owner changed from athomas to khundeen.
  • release changed from 0.10 to 0.11.
  • component changed from TracHacks to TracMetrixPlugin.

01/11/08 22:01:12 changed by khundeen

  • status changed from new to closed.
  • resolution set to fixed.
  • description changed.

Thanks for the patch


Add/Change #2325 (Date error.)




Change Properties
Action