The temporal proposal for JS is at long last moving forward! (Check out details here)
This introduces 8 date/time data types into the javascript ecosystem
- Duration
- Instant
- Date
- DateTime
- MonthDay
- Time
- YearMonth
- ZonedDateTime
Each of these data types have a standard way they are serialized on the wire. Already zod supports 4 of these iso strings under z.iso . I propose supporting the rest to match the temporal proposal.
This would mean adding
- z.iso.yearMonth
- z.iso.zonedDateTime
- z.iso.instant
- z.iso.monthDay