Opened 3 years ago

Closed 3 years ago

#746 closed defect (fixed)

1601-01-01 is ANSI date 1, not 0

Reported by: pcampalani Owned by: pcampalani
Priority: critical Milestone: 9.0.x
Component: secore Version: development
Keywords: ansi datum epoch Cc:
Complexity: Trivial


The OGC_AnsiDate CRS has epoch time by definition on the 1st of January 1601.

However the convention for ANSI is that the date numbers start from 1, and not 0 (ref).

This level of specification is not possible in a gml:TemporalCRS, hence the solution is to set the CRS epoch to the 31st of December 1600, so that the 1st of January 1601 gets correctly interpreted as day 1.

Change History (2)

comment:1 Changed 3 years ago by pcampalani

  • Status changed from new to accepted

comment:2 Changed 3 years ago by pcampalani

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

Epoch of OGC:AnsiDate fixed in changeset:517ac66 : now 1601-01-01 is ANSI date 1.

Note: See TracTickets for help on using tickets.