mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 03:26:45 +00:00
(cherry picked from commit 2bd26c0f49605655aae8281e7fc0ef76e03c0546) Co-authored-by: Jacob Felknor <jacobfelknor073@gmail.com>
This commit is contained in:
parent
4987149979
commit
ccaf3459ce
@ -43,7 +43,7 @@ export default function DateField({
|
||||
let dv: Date | null = null;
|
||||
|
||||
if (field.value) {
|
||||
dv = new Date(field.value);
|
||||
dv = dayjs(field.value).toDate();
|
||||
}
|
||||
|
||||
// Ensure that the date is valid
|
||||
|
Loading…
x
Reference in New Issue
Block a user