Add DateTimePicker component with DateTimeOffset and culture support
#1,095 opened on 2021/03/05
Repository metrics
- Stars
- (10,394 個のスター)
- PR merge metrics
- (平均マージ 6d 6h) (30d で 108 merged PRs)
説明
We have a DateTime picker, and a TimeSpan picker. It would be good to have a DateTime picker.
It was also be good if that picker supported DateTimeOffset values.
It should also automatically work out the datetime culture from .NET (in WebAssembly, this is pretty good at working out what the end-user's datetime culture is).
Use case: I have an application that is used worldwide, in multiple countries. Any dates/times entered should be entered in the user's local format and timezone, but be readable by any other user in their local format and timezone. e.g. a user in the UK, setting a reminder to occur at "05/03/2021 12:00 +00:00 (GMT)" should be readable to someone in the US as "03/05/2021 7:00am -5:00 (EST)"
(I realise the DateFormat and Culture can be set to CultureInfo.CurrentCulture... this should be the default, rather than what appears to be ISO format)