UserPreferences

DateXML


Abstract

Use XML attributes to represent datetimes and not RFC3339.

Status

Open.

Rationale

We want to be able to process feeds using XSLT and other basic XML processing tools. RFC3339 format means that they now ALSO need a RFC3339 parser to do anything interesting with dates. XML is a system for representing data structures. Lets use it to represent datetime data structures.

"Date Constructs" are actually DateTime Constructs and the naming should reflect that.

Proposal

Replace Section 3.3 with:

3.3 DateTime Constructs

3.3.1 "year" attribute

3.3.2 "month" attribute

3.3.3 "mday" attribute

3.3.4 "hour" attribute

3.3.5 "minute" attribute

3.3.6 "second" attribute

3.3.7 "fraction" attribute

Impacts

Much simpler handling of timestamps for XML processing tools.

Notes

The time is always UTC. Localization should be handled at the presentation layer.

Not worrying about years past 4096.


CategoryProposals