build(deps): bump chrono-node from 2.2.6 to 2.7.5 in /superset-frontend (#26746)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evan Rusackas <evan@rusackas.com>
This commit is contained in:
dependabot[bot]
2024-04-18 14:50:58 -06:00
committed by GitHub
parent 452e26ea79
commit 783dbb5040
3 changed files with 14 additions and 9 deletions

View File

@@ -46,7 +46,9 @@ const getJSONSchema = () => {
if (value.default && value.format === 'date-time') {
jsonSchema.properties[key] = {
...value,
default: chrono.parseDate(value.default).toISOString(),
default: value.default
? chrono.parseDate(value.default)?.toISOString()
: null,
};
}
},