mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
date-time detect fix
This commit is contained in:
@@ -96,6 +96,9 @@ export function detectType(value: any): ArraySupportedFiledTypes {
|
||||
return FieldType.checkbox;
|
||||
}
|
||||
case "object": {
|
||||
if (+new Date(value)) {
|
||||
return FieldType.dateTime;
|
||||
}
|
||||
return FieldType.json;
|
||||
}
|
||||
default: {
|
||||
|
||||
Reference in New Issue
Block a user