ggascoigne / amber

https://amberconnw.org
MIT License
3 stars 0 forks source link

Reports.tsx: replaceAll with character set only replaces first one #67

Closed evoskamp closed 1 year ago

evoskamp commented 1 year ago

const timestamp = new Date().toISOString().replaceAll('[-.]', '_')

results in 2023-01-12T05_44_19.392Z

It should have the period replaced.