Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-11672

Provide datetimes in standardised format for userscripts

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: User interface
    • Labels:
      None

      Description

      For compatibility with userscripts, it would be nice if datetimes were embedded in a page's HTML in a standard format. Otherwise, when a userscript needs to extract dates, such as the date when an edit will close, it has to rely on custom parsing to support all possible datetime formatting. This causes headaches.

      Unix timestamps (or any other standard that can easily be parsed without special libraries) as a data attribute on the element that contains the timestamp would make extracting dates a lot easier for the userscript developers.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            ROpdebee ROpdebee
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package