-
Dev/nerd friends: is there an existing well-designed data structure for minimal/incomplete dates (including sorting/math such as “difference” on these)? e.g. sometimes we have a specific second (2022-Jun-09@11:28:14UTC-4), and other times we might only have “2008-Aug” or “2003”.
-
I wonder if the best way to do this is to use YYYYMMDDHHIISS (in UTC), but zero out the right side as soon as there’s a date 0. so: - 20220609152814 - 20080800000000 - 20030000000000 Still sortable, and easy to tell which part (of the date at least) is truncated… hmmm.
-
…midnight is still ambiguous, so it’s not perfect…