]> git.ipfire.org Git - thirdparty/systemd.git/commit
time-util: make USEC_TIMESTAMP_FORMATTABLE_MAX for 32bit system off by one day
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 12 Mar 2023 11:57:16 +0000 (20:57 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 12 Mar 2023 19:43:19 +0000 (04:43 +0900)
commitbd5770da76ee157d3b31323ed2d22f5d9082bb36
tree77045acf5666226a227e4af960658995a26bda36
parent7d28e496e827ef5f118251b61a8548c05bb1f837
time-util: make USEC_TIMESTAMP_FORMATTABLE_MAX for 32bit system off by one day

As the same reason why we take one day off for 64bit case.

This also makes both upper bounds always defined for testing.
src/basic/time-util.h
src/test/test-date.c
src/test/test-time-util.c