This commit is contained in:
2020-09-15 17:45:12 +00:00
parent 8347d56113
commit 5b370e98f9

View File

@@ -3,20 +3,9 @@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
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
todo: 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/
TODO: Report confirmation checklist
- page breaks properly EXAMPLE NEEDED