You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm creating a small tool that works around planet.json, I found some Date type like created make me confused.
I think Date type should follow one of RFC 2822 \ RFC 3339 \ ISO 8601, this field should be readable, could you please make a change or give some kind of parsing specification ?
Currently, it's directly from Swift JSON encoder for Swift's Date type, its raw form is a TimeInterval (=Double) of their milliseconds since the reference date: 12:00 a.m. UTC on January 1st, 2000.
Activity
[-]Question ablout Date[/-][+]Question about Date[/+]livid commentedon Jun 10, 2022
Currently, it's directly from Swift JSON encoder for Swift's Date type, its raw form is a
TimeInterval(=Double) of their milliseconds since the reference date: 12:00 a.m. UTC on January 1st, 2000.zu1k commentedon Jun 10, 2022
Thanks for your reply.
I am not familiar with swift, I wonder why Double, I think it should be some type of
intif this means the count of milliseconds since a certain time.Maybe it would be more appropriate to make changes in time for the early stages of the product.
livid commentedon Jun 10, 2022
Thanks. But it would be a breaking change for previous versions.