Component / Area
Time Picker
Is your feature request related to a problem?
Our application displays all dates in UTC. Currently, it's not possible to pass a timezone to the date (range)/time pickers.
Describe the solution you'd like
We have solved/worked around this by adjusting the time by the offset between UTC and the local timezone of the user before passing them to the date picker. We do the same when receiving the selected values from the picker.
My question is if it would be possible to add an input property that allows for passing the target timezone (UTC in our case) to the pickers?
Proposed API or Usage
An input property for the pickers e.g. "timezone" that converts the incoming and outgoing date(s) into the respective target timezone.
Describe alternatives you've considered
An alternative would be using something like the pipeArgs similar to how it's implemented for the igx-column which takes care of the conversion. However, the pipe only covers displaying the data.
Our use case would also require the outgoing dates to be in the target timezone (UTC) which, in my opinion, makes it difficult to implement the feature with a pipe.
How important is this feature to you?
Important — affects my workflow
Additional context
No response
Component / Area
Time Picker
Is your feature request related to a problem?
Our application displays all dates in UTC. Currently, it's not possible to pass a timezone to the date (range)/time pickers.
Describe the solution you'd like
We have solved/worked around this by adjusting the time by the offset between UTC and the local timezone of the user before passing them to the date picker. We do the same when receiving the selected values from the picker.
My question is if it would be possible to add an input property that allows for passing the target timezone (UTC in our case) to the pickers?
Proposed API or Usage
Describe alternatives you've considered
An alternative would be using something like the
pipeArgssimilar to how it's implemented for theigx-columnwhich takes care of the conversion. However, the pipe only covers displaying the data.Our use case would also require the outgoing dates to be in the target timezone (UTC) which, in my opinion, makes it difficult to implement the feature with a
pipe.How important is this feature to you?
Important — affects my workflow
Additional context
No response