Opened 15 years ago

Last modified 14 years ago

#508 new defect

Extend DateTime classes to support time zones

Reported by: Mike Toews Owned by: gregboone
Priority: major Milestone: 3.6.0
Component: FDO API Version: 3.4.0
Severity: 5 (Wish List) Keywords: timestamp, time zone
Cc: External ID:

Description

Database software usually support timestamps with time zones. In particular, PostgreSQL maps the DDL keyword "timestamp" to "timestamp with time zone" (or "timestampz") when creating tables. All other enterprise databases also support timestamps with time zones, including several client software like R, Python, etc.

This data type is not supported by FDO. Attempting to use it, such as with the OSGeo PostGIS provider, throw an error "The 'timestamptz' data type is not supported by PostGIS provider". (See also #394).

It would seem reasonable to extend the DateTime class, methods, etc. to support handling of time zones. Timestamps without time zones could simply set the time zone to Null/None, as is done with DateTime classes in other software (like R, Python, etc.)

Change History (2)

comment:1 by gregboone, 14 years ago

Severity: 35 (Wish List)

Enhancement Request

comment:2 by gregboone, 14 years ago

Milestone: 3.5.03.6.0
Note: See TracTickets for help on using tickets.