ref: e2ee991490227698bbc3f9ace4c9ecc014d12dbe
parent: 8ffcc91b1baca653df130efeb213d3d69189bae4
author: Ori Bernstein <ori@eigenstate.org>
date: Sat Jun 13 08:38:49 EDT 2020
libc, seconds: new time and date apis. Redo date handling in libc almost entirely. This allows handling dates and times from outside your timezones, fixes timezone loading in multithreaded applications, and allows parsing and formatting using custom format strings. As a test of the APIs, we replace the formatting code in seconds(1), shrinking it massively.