#1143 Some confusion about ISO date format in rexxref

4.1.3
closed
Rick McGuire
None
none
1
2013-07-09
2012-11-15
Geoff Stevens
No

Some confusion about ISO date format in rexxref

Open Object Rexx
Reference
Version 4.1.2 Edition
Revision 1
August 2012
[...]

5.4.1.15. fromIsoDate (Class Method)
Creates a DateTime object from a string in ISO date format (yyyy-mm-ddThh:mm:ss.uuuuuu).

5.4.1.16. fromUTCIsoDate (Class Method)
Creates a DateTime object from a string in ISO timezone qualified date format
(yyyy-mm-ddThh:mm:ss.uuuuuu+hhmm).

[...]

5.4.1.38. isoDate
Returns a String formatted into ISO date format, yyyy-dd-mmThh:mm:ss.uuuuuu.

5.4.1.39. utcIsoDate
Returns a String formatted into a fully qualified ISO date format. If the timezone offiset is 0, the format
is yyyy-dd-mmThh:mm:ss.uuuuuuZ.

The text for the isoDate and utcIsoDate methods describes the "ISO date format" as yyyy-dd-mm. NB also "offiset".

Afaik, ISO8601 is sortable, yyyy-mm-dd

http://en.wikipedia.org/wiki/ISO_8601

Discussion

  • Geoff Stevens
    Geoff Stevens
    2012-11-15

    I should point out the isoDate and utcIsoDate methods appear to produce yyyy-mm-dd results

     

  • Anonymous
    2012-11-15

    The implementation is correct, this is just a typo in the docs.

    [r8583] Both trunk and 4.1 bug branch.

     

    Related

    Commit: [r8583]

  • Rick McGuire
    Rick McGuire
    2012-11-15

    • status: open --> pending
    • assigned_to: Rick McGuire
    • milestone: None --> Next_Release
     


Anonymous


Cancel   Add attachments