mami-project / pto3-go

MAMI Path Transparency Observatory server (v3) and associated utilities
1 stars 2 forks source link

verify that time-based groups are in ISO8601 format #79

Closed britram closed 6 years ago

britram commented 6 years ago

Update: they are not.

This might be as simple as datestyle="ISO"

britram commented 6 years ago

It isn't. PostgreSQL does ISO 8601, and the PTO (with Golang defaults) uses RFC 3339. So we either need to parse and rewrite groups to store them in 3339, change our usage of 3339 formatting to use PostgreSQL-like ISO, or document the difference in formats.