diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 077925fa..ed0814a5 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -4,6 +4,18 @@ 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/ TODO: Report confirmation checklist