Introduce "_formats": "year"
@olinux, could we create a new "custom" format for year? At the moment, we us a regular expression (([0-9]{4})) for the property "year" in the copyright schema because draft-07 doesn't have this as a regular format (only date and/or time).
This would mean some changes to the generator as well ;)
This can be postponed to a later point. But good to keep open for now.
@olinux it would be good to receive your input here.
This topic got revived. There are several fields where it would be an advantage to give a bit more flexibility in what is provided than just datetime or date.
My suggestion would be to keep a list of the following for date/datetime/time:
- yyyy
- MM/yyyy
- dd/MM/yyyy
- dd/MM/yyyy HH:mm (?)
- dd/MM/yyyy HH:mm:ss (?)
- dd/MM/yyyy HH:mm:ss.SSS
- HH:mm (?)
- HH:mm:ss (?)
- HH:mm:ss.SSS