Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-7587

Add timesys argument to DateTime constructor to toString (implement RFC-219)

    Details

    • Type: Improvement
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: daf_base
    • Templates:
    • Story Points:
      3
    • Sprint:
      Alert Production F16 - 9
    • Team:
      Alert Production

      Description

      Implement RFC-219 as follows:

      • DateTime(string, timescale) with "Z" required for UTC and forbidden for TAI. Ideally forbid "23:59:60" leap seconds for TAI as well.
      • DateTime.toString(timescale) with "Z" produced for UTC and not for TAI.

      Require the timescale argument, unless it proves to be a major headache by affecting too much code, in which case default to UTC for backwards compatibility.

      Additional tests that verify that "23:59:60" strings are not produced by toString(TAI) at actual leap seconds.

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  rowen Russell Owen
                  Reporter:
                  rowen Russell Owen
                  Reviewers:
                  Pim Schellart [X] (Inactive)
                  Watchers:
                  John Parejko, Kian-Tat Lim, Pim Schellart [X] (Inactive), Russell Owen
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Summary Panel