bcgov / nr-rfc-alertauthoring

a tool to help create structured data for River Forecast Centre alert feeds
Apache License 2.0
1 stars 0 forks source link

Render Dates as local datetime #32

Closed franTarkenton closed 3 months ago

franTarkenton commented 9 months ago

Currently dates are generated by the backend for when an alert is created or updated. The backend stores all datetime in utc time. When dates are displayed by the frontend they should be in local time.

Fix the view-alert-component so that the dates show local time and not utc. Also see if there is an option to label what the local timezone is being picked up as

Acceptance Criteria

franTarkenton commented 3 months ago

completed in pr: https://github.com/bcgov/nr-rfc-alertauthoring/pull/124

Edit page and View page now show consistent date format, and render dates in local time.