cityofaustin / atd-vz-data

The technology that powers the City of Austin's Vision Zero program
https://visionzero.austin.gov/viewer/
11 stars 2 forks source link

Small VZV timestamp bug #1474

Closed Charlie-Henry closed 2 months ago

Charlie-Henry commented 2 months ago

Hour and minute were not displaying correctly when the number of digits were < 2 and was using 24h time with am/pm. Not sure if I'm supposed to be merging into master or not apologies...

date-fns format docs

Before:

Screenshot 2024-06-10 at 5 19 40 PM

After:

Screenshot 2024-06-10 at 5 19 37 PM

Associated issues

Testing

URL to test: https://deploy-preview-1474--atd-vzv-staging.netlify.app/viewer/map

Steps to test:


Ship list

Charlie-Henry commented 2 months ago

@johnclary I don't see this change deployed on the viewer, I'm pretty sure I skipped a step somewhere in deploying this.

image

johnclary commented 2 months ago

it's in staging now and will make it's way to prod during our next release ⚙️