import { adjustTimezone } from '@src/hylo-components/utils/usefull/usefull';
Adds the timezone to the given ISO formatted datetime string by using a reference datetime.
The date and time values stay the same, only the timezone is added/changed.
If the given datetime string has a timezone, the changed timezone will show a colon or not
depending whether the original showed one. (default is none)
The reference datetime has to be a full ISO formatted datetime including the timezone
for that time at the location you want to set the timezone to.
import { adjustTimezone } from '@src/hylo-components/utils/usefull/usefull';
Adds the timezone to the given ISO formatted datetime string by using a reference datetime. The date and time values stay the same, only the timezone is added/changed.
If the given datetime string has a timezone, the changed timezone will show a colon or not depending whether the original showed one. (default is none)
The reference datetime has to be a full ISO formatted datetime including the timezone for that time at the location you want to set the timezone to.