Partially revert timezone change
This commit is contained in:
parent
9f5066f982
commit
6358bc3deb
@ -284,7 +284,11 @@ export const TimeInput = ({ defaultValue, onInput }) => {
|
||||
onInput={(ev) => {
|
||||
ev.currentTarget.value === ""
|
||||
? updateTime(null)
|
||||
: setTime(DateTime.fromISO(ev.currentTarget.value, { zone: "UTC" }));
|
||||
: setTime(
|
||||
DateTime.fromISO(ev.currentTarget.value, { zone: timezone }).setZone(
|
||||
"UTC",
|
||||
),
|
||||
);
|
||||
}}
|
||||
></input>
|
||||
</>
|
||||
|
Loading…
Reference in New Issue
Block a user