This commit is contained in:
2020-02-06 20:03:08 +00:00
parent 7af6c99638
commit 8763aea576
3 changed files with 21 additions and 21 deletions

View File

@@ -58,6 +58,7 @@ TODO: LOCALIZATION
- TODO: get time zone from browser with user override option
- use browser default unless overridden
- Intl.DateTimeFormat().resolvedOptions().timeZone
- How to handle dates and times
- All dates stored in UTC format at server and transmitted that way
@@ -66,7 +67,7 @@ TODO: LOCALIZATION
- Client uses the built in browser tolocale* methods to display dates to user both in their desired format and desired time zone, i.e. NO HOUR ADJUSTMENTS USED
-- Proper way to definitevely display a date in desired time zone: DATE.toLocaleString('en-GB', { timeZone: 'UTC', dateStyle: "short",timeStyle: "short", hour12: false })
- SB able to ditch the dayjs library entirely once done!
- CURRENCY code, need to be able to set currency as a user option, no way to deduce it except maybe a default through deduction of locale
- AM PM or 24 hour time sb a setting in locale