metadatamenu
metadatamenu copied to clipboard
The time type seems to be changed back to a "date" in the last update
I use fields with the "time" type every day and ever since the last update, when I try to fill in a property with that field I'm told "value must be a valid date."
When I checked the Fileclass fields settings, all my Time entries now say "undefined" in the options area. When I try to edit them, they have date information instead of the HH:mm of a time field.
I can create new Time fields, but any ones that existed before seem munged.
Hi, can you paste here the frontmatter of your fileclass file please? (to check the settings of your startTime and endTime fields)
Here you go, I removed the non-Time fields.
extends:
fields:
- name: endTime
type: Time
options:
timeFormat: HH:mm
path: ""
id: aOch6O
- name: startTime
type: Time
options:
timeFormat: HH:mm
path: ""
id: YidYWA
version: "2.11"
limit: 20
mapWithTag: false
icon: file-text
tagNames:
filesPaths:
bookmarksGroups:
excludes:
savedViews: []
favoriteView:
fieldsOrder:
- YidYWA
- aOch6O
- umxMjB
- suKNUh
- D9SVSf
- 2pLDFf
- qzTbwM
- cgGG4n
Oooo my bad, when migrating, I've changed the format of the options for the Time field type and forgot to migrate them... you can change "timeFormat" for "dateFormat" in your fileClass file for the Time fields and it should work