Opened 10 years ago

Closed 10 years ago

#746 closed defect (fixed)

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

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

Description

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 by Piero Campalani, 10 years ago

Status: newaccepted

comment:2 by Piero Campalani, 10 years ago

Resolution: fixed
Status: acceptedclosed

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

Note: See TracTickets for help on using tickets.