fundamental-react icon indicating copy to clipboard operation
fundamental-react copied to clipboard

DatePicker: time zone support

Open prsdthkr opened this issue 5 years ago • 0 comments

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

  1. If time zone is customizable, should the current time zone be conveyed to the user?
  2. 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.

prsdthkr avatar May 28 '20 21:05 prsdthkr