standardize how graphics get language aware times #1194
Labels
i-good-first-issue
This issue is probably a good starting point for people new to coding or the OED project.
p-low-priority
t-enhancement
This issues tracks a potential improvement to the software
Milestone
Is your feature request related to a problem? Please describe.
Different parts of the code seem to use different methods to get date aware labeling. Two for hover text are:
dateTS.format(moment.localeData().longDateFormat('L').replace(/YYYY/g, 'YY'))
).timeReading.format('ddd, ll LTS')
There may be other ways in other places.
Describe the solution you'd like
OED should decide the best way and consistently use that (maybe by centralizing the code).
Describe alternatives you've considered
Leave as is but the format may vary.
Additional context
None
The text was updated successfully, but these errors were encountered: