This commit is contained in:
@@ -48,13 +48,26 @@ CURRENT TODOs
|
||||
SHELL / NAV / MENUS / LAYOUT
|
||||
|
||||
TODO: LOCALIZATION
|
||||
- ACTIONS
|
||||
- SEEDER at server, use timezone offset to generate widget dates so it is easy to see if locale stuff is working in client, currently it's out by 8 hours from now
|
||||
- TODO ACTIONS
|
||||
|
||||
- Move localization methods to the LOCALE object and then call it from the filters
|
||||
- Browser languages in locale:
|
||||
- some functions are better called with the full array of browser languages because sometimes it needs to use a fallback
|
||||
- Only the date picker seems to have an issue with handling the full array of languages, the javascript number and date formatters do not and expect a full range
|
||||
- Need a manual override setting for locale tag "en-US" etc as some browsers seem to be shitty at it
|
||||
|
||||
- TODO: get time zone from browser with user override option
|
||||
- use browser default unless overridden
|
||||
|
||||
- How to handle dates and times
|
||||
- All dates stored in UTC format at server and transmitted that way
|
||||
- Change to timestamp?
|
||||
- CLIENT DISPLAY:
|
||||
- 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 })
|
||||
|
||||
|
||||
|
||||
- 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user