2 ms·
DJB approach: https://cr.yp.to/proto/utctai.html https://cr.yp.to/proto/utctai.html
by throwaway81523 6y ago
DJB approach: https://cr.yp.to/proto/utctai.html https://cr.yp.to/proto/utctai.html
- lifthrasiir 6y agoFirst, your link should be to libtai. Second, DJB never adequately addressed the complex problem of parsing and formatting human-readable dates (only providing the fixed ISO 8601 format), nor time zones (it doesn't support the local time zone, which is fine [1], but it doesn't support the specified time zone as well). It represents an incredibly naive understanding of date and time processing. [1] This needs elaboration. The local time zone is typically implemented by at least one of two ways: you read the central repository (`/etc/localtime` in Linux for example) every time local time is requested, or you listen to the time zone change event (`WM_SETTINGCHANGE` event in Windows for example). This is no different from your typical pan-process synchronization problem, which is complex and costly.