cityofaustin / atd-moped

A comprehensive mobility project tracking platform for Austin, Texas.
https://mobility.austin.gov/moped/
4 stars 3 forks source link

add `formatRelativeDate` to replace date with string #1407

Closed mateoclarke closed 2 months ago

mateoclarke commented 2 months ago

Associated issues

Closes https://github.com/cityofaustin/atd-data-tech/issues/18671

Screenshot 2024-09-03 at 7 13 37 PM

Testing

URL to test: https://deploy-preview-1407--atd-moped-main.netlify.app/moped/projects/1822?tab=funding

Steps to test:


Ship list

mddilley commented 2 months ago

@roseeichelmann great question - i see in the code that the date format kicks in after 30 days which scores another point for showing them both to me.

mateoclarke commented 2 months ago

@mddilley your requested changes have been implemented.

mddilley commented 2 months ago

Forgot to mention that I tested sorting this column too, and it worked as expected. 🚀