Convert to/from timezone
This commit is contained in:
parent
a5e6c41fa5
commit
8f4810b532
@ -30,7 +30,7 @@ export const TimeInput = ({ defaultValue, onInput }) => {
|
||||
if (newTime === null) {
|
||||
newTime = DateTime.now().setZone("UTC");
|
||||
}
|
||||
setTime(newTime.set(upd));
|
||||
setTime(newTime.setZone(timezone).set(upd).setZone("UTC"));
|
||||
},
|
||||
[time, timezone],
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user