Skip to content

Better adoption of ISO8601 time standard #19

Description

@d70-t

Properly referring to timestamps can be troublesome as many different writing schemes exist throughout the world. ISO8601 was made for the rescue but still offers great flexibility, which might be a bit too flexible for what we need. However, adopting the standard as close as possible seems to be an important step forward.

This issue is to collect and resolve problems which arise with the adoption of IS8601. Please comment if you have suggestions or see other issues.

formatting of times

ISO8601 allows to format times with or without colons, e.g. hh:mm:ss and hhmmss are both valid. Should we use:

  • hh:mm:ss
  • hhmmss

YAML and W3C for example require colons, but colons tend to be problematic in certain places (e.g. filenames).

formatting of dates

This is closely related to the one above, ISO allows:

  • YYYY-MM-DD
  • YYYYMMDD
    and again, YAML and W3C require the former. However, in this case, the hyphens usually are less problematic in filename, so this issue could be easier to resolve.

formatting time intervals

ISO8601 provides several methods to format time intervals. An interval can be specified either by start and end or a duration and one of start or end. To separate the two, ISO8601 specifies the use of a forward slash /. E.g. start/end or start/duration or duration/end. The forward slash is however also a problematic choice with respect to filenames, and a double hyphen -- seems to be popular in stead.

  • should we adopt ISO8601 time intervals at all?
  • should we allow the definition of durations? - or only the start/end format?
  • which separator should be used?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions