This commit is contained in:
@@ -4,6 +4,18 @@
|
|||||||
|
|
||||||
|
|
||||||
todo: date / time formating in report ad-hoc
|
todo: date / time formating in report ad-hoc
|
||||||
|
Might still be able to use the built in Intl formatter since they have many options:
|
||||||
|
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleTimeString
|
||||||
|
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleDateString
|
||||||
|
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleString
|
||||||
|
|
||||||
|
Make copy of date and time helpers into report showing use of options to generate long and short date time, 2digit etc
|
||||||
|
Perhaps this is a situation served best by either a set of stock helpers like a LONG date helper
|
||||||
|
or maybe just user custom helpers if they want full control?
|
||||||
|
|
||||||
|
Also as an aside there is a relative time formatter available which might be handy
|
||||||
|
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat
|
||||||
|
|
||||||
https://momentjs.com/docs/#/-project-status/
|
https://momentjs.com/docs/#/-project-status/
|
||||||
|
|
||||||
TODO: Report confirmation checklist
|
TODO: Report confirmation checklist
|
||||||
|
|||||||
Reference in New Issue
Block a user