Open huss opened 2 months ago
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.
OED should decide the best way and consistently use that (maybe by centralizing the code).
Leave as is but the format may vary.
None
I want to work on this issue.
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