News for hackers. Stuff that matters.
Re:How to Design Better APIs by hn_throwaway_99 on Friday March 11, 2022 @08:32PM (#30648151)
1. Human readability

2. The ISO date format is "big endian" by default, which makes it trivial to chunk and compare just specific date parts. Want all events that occurred on the same (UTC) date? Just do dateField.substring(0, 10). Everything in the same year? dateField.substring(0, 4).

There are no comments on this comment yet.