Date, Time, Datetime?
In the API we have
* https://ash-hq.org/docs/module/ash/latest/ash-type-date
* https://ash-hq.org/docs/module/ash/latest/ash-type-time
* https://ash-hq.org/docs/module/ash/latest/ash-type-utcdatetime
It looks as if both
I wonder: is the fact it's UTC actually part of the type? Or might it make sense just to have
* https://ash-hq.org/docs/module/ash/latest/ash-type-date
* https://ash-hq.org/docs/module/ash/latest/ash-type-time
* https://ash-hq.org/docs/module/ash/latest/ash-type-utcdatetime
It looks as if both
:date and :time default to UTC/ISO calendar, so I got a little confused by the naming.I wonder: is the fact it's UTC actually part of the type? Or might it make sense just to have
:date, :time, and :datetime, and specify that the representation of these is in UTC/ISO, in the same way that :string specifies the type and UTF-8 is the representation?