Force field type #558
-
Hi folks, Is there a way to force a field type, specificaly, a date field type, making explicit the format? I have cuystom date fields, in when sorting, they are getting interpreted as string fields, not date. Thanks Sieg |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
It's not directly possible right now, though you can manually do the parsing you need in DataviewJS if desired (just access the fields, and use whatever parsing function works for you in JavaScript). |
Beta Was this translation helpful? Give feedback.
-
I am experiencing a similar irritation. I like to write times using a period as separator, but this causes Dataview to interpret that column as a number, causing truncation of trailing zeroes. |
Beta Was this translation helpful? Give feedback.
It's not directly possible right now, though you can manually do the parsing you need in DataviewJS if desired (just access the fields, and use whatever parsing function works for you in JavaScript).