Fix timestamp component test in Chrome
`toLocaleTimeString()` in Chrome produces an `hh:mm:ss` output on my system whereas the rendered timestamp only has `hh:mm`. Re-using `format` from date-util avoids this hazard.
Showing
Please register or sign in to comment