You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @DannyFeliz.
Currently, the component receives the local date of the person and then converts it to the provided timezone. I think we should add a prop to allow the user to pass the timestamp with the expected dates to remove the necessity to subtract/add hours from their locale to match the provided timezone.
But this will send the Date object with the local timezone which is technically incorrect. I'm searching if we can let the Date object know that a Date is in a timezone without converting it. If you have any clues let me know
The text was updated successfully, but these errors were encountered:
larizzatg
changed the title
Improve component api time props
Allow timezoned timestamps
Sep 21, 2020
Hello @DannyFeliz.
Currently, the component receives the local date of the person and then converts it to the provided timezone. I think we should add a prop to allow the user to pass the timestamp with the expected dates to remove the necessity to subtract/add hours from their locale to match the provided timezone.
But this will send the Date object with the local timezone which is technically incorrect. I'm searching if we can let the Date object know that a Date is in a timezone without converting it. If you have any clues let me know
The text was updated successfully, but these errors were encountered: