diff --git a/src/utils/index.js b/src/utils/index.js index 4326ef7..fd6c661 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -67,7 +67,7 @@ export function formatDate (date, format) { export function parseDate (value, format) { try { - return fecha.parse(value, format) + return fecha.parse(value, format) || null } catch (e) { return null }