Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fmt: improve
str{f,p}time
compatibility
This adds a whole bunch of conversion specifiers from reading `man strftime` on my system (GNU libc). I originally didn't add most of these because they bloat the size of `BrokenDownTime` and many of them seem a little dubious. But a few folks have filed issues about compatibility. Given the `strtime` API is already a complete clusterfuck, it probably makes sense to just match existing practice as much as we can. One conversion specifier I intend to add but haven't yet is `%V` for the ISO 8601 week number. It is conspicuously absent here since `%V` is currently used for IANA time zone identifiers. That will change in `jiff 0.2`, which will make room for `%V` to be the ISO 8601 week number. Ref #139, Ref #147
- Loading branch information