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

Make formatUserDate error rather than return wrong date if given object

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2019-04-26
    • None
    • JavaScript
    • None

      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.

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

              Created:
              Updated:
              Resolved:

                Version Package
                2019-04-26