Create a new type like MinutesSinceEpoch
to replace i32
in MetaZonePeriodV1
#2155
Labels
A-data
Area: Data coverage or quality
C-datetime
Component: datetime, calendars, time zones
S-medium
Size: Less than a week (larger bug fix or enhancement)
T-enhancement
Type: Nice-to-have but not required
Milestone
The way to do this would be to make a new type like
MinutesSinceEpoch
, use it instead ofi32
in the ZeroMap, and give it a customSerialize
andDeserialize
impl.Context:
Json file would be more readable, json file API can be customized.
Serialize as raw date timestamp in Json and deserialize as MinutesSinceEpoch.
The text was updated successfully, but these errors were encountered: