fundamental-react
fundamental-react copied to clipboard
DatePicker: time zone support
Description
DatePicker should support customization of time zone. Currently, the datepicker uses moment.js with the default system/machine's time zone. Applications should be allowed to set custom time zone for datepicker.
Time zone will affect which date is the today date. For example, users with preferred time zone 'Asia/Tokyo' should see the current date in Tokyo regardless of their physical location or machine settings.
Questions
- If time zone is customizable, should the current time zone be conveyed to the user?
- How can the DatePicker's current time zone be conveyed to the user? For example, it can be appended to placeholder text or added as a separate label.