mirror of
https://github.com/apache/superset.git
synced 2026-04-23 01:55:09 +00:00
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:
@@ -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,
|
||||
};
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user