mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-16 17:41:50 +02:00
Ignore time zone in time picker
This commit is contained in:
parent
9f5af53262
commit
9c61d34f24
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ const TimePicker: React.VoidFunctionComponent<TimePickerProps> = ({
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Listbox
|
<Listbox
|
||||||
value={value.toISOString()}
|
value={dayjs(value).format("YYYY-MM-DDTHH:mm:ss")}
|
||||||
onChange={(newValue) => {
|
onChange={(newValue) => {
|
||||||
onChange?.(new Date(newValue));
|
onChange?.(new Date(newValue));
|
||||||
}}
|
}}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue