Merge branch 'feature/IO-1828-Front-End-Package-Updates' into feature/IO-2456-Customized-Report-Filtering
This commit is contained in:
@@ -48,7 +48,14 @@ export function FormDatePicker({
|
|||||||
const v = e.target.value;
|
const v = e.target.value;
|
||||||
if (!v) return;
|
if (!v) return;
|
||||||
|
|
||||||
const formats = ["MMDDYY", "MMDDYYYY", "MMDD", "MM/DD/YY", "MM/DD/YYYY"];
|
const formats = [
|
||||||
|
"MMDDYY", "MMDDYYYY", "MM/DD/YY", "MM/DD/YYYY",
|
||||||
|
"M/DD/YY", "M/DD/YYYY",
|
||||||
|
"MM/D/YY", "MM/D/YYYY", "M/D/YY", "M/D/YYYY",
|
||||||
|
"D/MM/YY", "D/MM/YYYY",
|
||||||
|
"DD/M/YY", "DD/M/YYYY", "D/M/YY", "D/M/YYYY"
|
||||||
|
];
|
||||||
|
|
||||||
let _a;
|
let _a;
|
||||||
|
|
||||||
// Iterate through formats to find the correct one
|
// Iterate through formats to find the correct one
|
||||||
|
|||||||
@@ -260,7 +260,7 @@ export function ReportCenterModalComponent({ reportCenterModal }) {
|
|||||||
>
|
>
|
||||||
<DatePicker.RangePicker
|
<DatePicker.RangePicker
|
||||||
format="MM/DD/YYYY"
|
format="MM/DD/YYYY"
|
||||||
ranges={DatePIckerRanges}
|
presets={DatePIckerRanges}
|
||||||
/>
|
/>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user