Information date switches 1 day #1972
Labels
bug
Something isn't working
good first issue
Good for newcomers
Menas
Menas component affected
priority: undecided
Undecided priority to be assigned after discussion
under discussion
Requires consideration before a decision is made whether/how to implement
Describe the bug
In the monitoring tab in Menas informations dates are shown as +1 day from the actual date.
To Reproduce
Compare the displayed information dates to the original records in the DB
Example dataset: spear_sovereignindicators
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Additional context
The older Enceladus version, when Monitoring was implemented, was storing informationDate as a date string only. In the current version it includes default time of 23:59:59.590 which is 10 milliseconds before the midnight. Also, the timezone is not specified. The date gets switched, probably when casting the string to datetime object or adjusting for browser timezone. Further investigation is needed.
Release notes
Fixed incorrect info date display in monitoring UI.
The text was updated successfully, but these errors were encountered: