mirror of
https://github.com/strapi/strapi.git
synced 2025-09-27 01:09:49 +00:00
Fix typo
Fix a small typo Signed-off-by: adcar <alexanderdcardosi@gmail.com>
This commit is contained in:
parent
3cb7810d69
commit
2761445aa0
@ -32,9 +32,9 @@ const parseDate = value => {
|
|||||||
|
|
||||||
if (dates.isValid(date)) return dates.format(date, 'yyyy-MM-dd');
|
if (dates.isValid(date)) return dates.format(date, 'yyyy-MM-dd');
|
||||||
|
|
||||||
throw new Error(`Invalid format, expected an ISO compatble date`);
|
throw new Error(`Invalid format, expected an ISO compatible date`);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
throw new Error(`Invalid format, expected an ISO compatble date`);
|
throw new Error(`Invalid format, expected an ISO compatible date`);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user