In looking at Bonsai, I've noticed that recent metadata commits are storing locale-specific date values. The code's easy to write that way (using ctime, strftime, and friends), but IMHO date values should only be localized in the UI, not the file format.
Thus, would someone be interested in writing the appropriate UT_* helper functions or classes to implement the ISO-standard, non-localized dates we'd agreed on previously? http://www.abisource.com/mailinglists/abiword-dev/02/May/0506.html http://www.abisource.com/mailinglists/abiword-dev/02/May/0516.html The goal is to have a single mechanism that all impexp authors can use to convert (in either direction) between standard C library date/time values and the following canonical datetime string format: 1998-08-01T09:14:37-05:00 For completeness, the conversion should also be robust enough to handle date/time strings when the UTC offset isn't known: 2002-05-13T13:15:30Z For further details, see the above URLs, or just ask. Thanks! Paul PS: Note that, if properly designed, these functions (and/or friends) could also be used to help localize those strings for display purposes.
