diff options
author | psykose <alice@ayaya.dev> | 2021-10-26 10:14:17 +0200 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-10-26 12:27:54 -0400 |
commit | 27b5fd0251276fce156ef066f11086cfba941804 (patch) | |
tree | f02b79c7952d5ed0a196cef0597113077bb29554 /scripts/sandman.m | |
parent | Increment replies for list modes with /mode (diff) | |
download | catgirl-27b5fd0251276fce156ef066f11086cfba941804.tar.gz catgirl-27b5fd0251276fce156ef066f11086cfba941804.zip |
Fix strptime decode for musl libc
POSIX does not define a %F for strptime[1], but does define %F for strftime[2]. Afaik most libc's implement %F for both, but musl is very standards-compliant and does not have %F on strptime, leading to unparsed message tag times, which causes all backlog sent from bouncer on startup to have a timestamp of the current time, instead of the actual timestamp sent. [1] https://pubs.opengroup.org/onlinepubs/9699919799/functions/strptime.html [2] https://pubs.opengroup.org/onlinepubs/9699919799/functions/strftime.html
Diffstat (limited to 'scripts/sandman.m')
0 files changed, 0 insertions, 0 deletions