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

Make formatUserDate error rather than return wrong date if given object

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2019-04-26
    • Component/s: JavaScript
    • Labels:
      None

      Description

      While trying to find out why reports were giving the wrong date after porting them to React, I realized I was passing an object (rather than a string) to formatUserDate. It did not complain, but just sent me back today's date for some reason. This seems less than ideal.

        Attachments

          Activity

            People

            • Assignee:
              reosarevok Nicolás Tamargo
              Reporter:
              reosarevok Nicolás Tamargo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                2019-04-26