react-datetimerange-picker
react-datetimerange-picker copied to clipboard
On Change not returning AM and PM while using custom format
On value change, the value is only returning 12:00 or 11:00 rather than 12:00PM and 11:00PM
<TimeRangePicker amPmAriaLabel="Select AM/PM" format="HH:mm a" locale={locale} onChange={(v) => { setFieldTouched(name, true); setFieldValue(name, v); }} value={values[name]} />
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 14 days.
This is expected. JavaScript in general doesn't operate on other time formats than military.