Commit graph

6 commits

Author SHA1 Message Date
Paul Beckingham
4b8fdd0fbe ISO8601: Removed non-extended forms
- Removed support for non-extended forms, which is approximately half of the
  formats.  These include:
    YYYYMMDD
    YYYYWww
    YYYYWwwD
    hhmmѕsZ
    hhmmZ
    hhZ
  and combinations thereof. Essentially all forms that contains run-on sequences
  of integers, without separators. These removed forms will still be supported
  via rc.dateformat.
- Removed unsupported forms from iso8601d.t.cpp.
- Removed unsupported forms from datetime-negative.t, and corrected the tests
  that now succeed.
2015-06-27 13:48:42 -04:00
Paul Beckingham
fcfc1d1a31 ISO8601: Removed ambiguous format support
- Disallows 2-digit times, such as 14 (2pm).  Now requires at least minutes
  included as well. This is likely to need further review, and possible dropping
  of all non-extended date forms (hhmmss, yyyymmdd), otherwise there will always
  be confusion between ID, UUID and ISO8601 dates.
- Removed 2-digit time tests.
2015-06-25 23:20:59 -04:00
Paul Beckingham
b7ad091d00 Updated copyright to 2015 2015-01-01 00:00:41 -05:00
Paul Beckingham
065cb2ef01 Bug
- Correct a DST error in date handling.
2014-03-13 21:15:42 -04:00
Paul Beckingham
22303e8e1c Portability
- Now uses POSIX mktime instead of timelocal calls.
2014-01-27 17:24:42 -05:00
Paul Beckingham
712b0bb4b5 ISO8601
- Merged libexpr ISO8601 code.
2014-01-02 00:45:16 -05:00