Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

Ignore time zone from time picker

Luke Vella9f5af5326259
diff --git a/src/components/forms/poll-options-form/month-calendar/time-picker.tsx b/src/components/forms/poll-options-form/month-calendar/time-picker.tsx
index 5a48a38ef..665e9041d 100644
--- a/src/components/forms/poll-options-form/month-calendar/time-picker.tsx
+++ b/src/components/forms/poll-options-form/month-calendar/time-picker.tsx
@@ -61,7 +61,7 @@ const TimePicker: React.VoidFunctionComponent<TimePickerProps> = ({
<Listbox.Option
key={i}
className={styleMenuItem}
- value={optionValue.toISOString()}
+ value={optionValue.format("YYYY-MM-DDTHH:mm:ss")}
>
{optionValue.format("LT")}
</Listbox.Option>,