Ticket #561 (closed task: fixed)

Opened 13 years ago

Last modified 11 years ago

[DS] Fix bug in time formatting in DateTimeManager.py

Reported by: astephen Owned by: astephen
Priority: required Milestone: External Product Definition
Component: ndg2 Version:
Keywords: DataExtractor Cc: dlowe

Description

Once again using existing date time formatting in python fails to cope with climate data epochs. I was relying on time.strftime() to format a time tuple. However, years like 1873 were "out of range". Added a "formatYear()" function to get around this!

Change History

comment:1 Changed 13 years ago by astephen

  • Status changed from new to closed
  • Resolution set to fixed

comment:2 Changed 11 years ago by lawrence

  • Keywords DataExtractor added
  • Component changed from T03_DataExtractor to ndg2

Moved to obsolete ndg2 components as part of ndg2 cleanup

Note: See TracTickets for help on using tickets.