Compare commits

..

4 Commits

Author SHA1 Message Date
gabime
7f07e5e39f Fixed GMT offset test 2025-03-29 13:07:00 +03:00
gabime
1fdd210bd2 Merge branch 'fix-zformatter-apple' of https://github.com/toh-ableton/spdlog into toh-ableton-fix-zformatter-apple 2025-03-29 12:58:49 +03:00
toh
b524a4a661 Fix #3352 (Missing test for Apple / POSIX.1-2024 chooses buggy workaround)
Apple platforms have had the tm_gmtoff-field at least since Mac OS X 10.0,
as are POSIX.1-2024 conforming systems, which are also required to support
it.

This has the unfortunate effect to use the SunOS/Solaris fallback, which
doesn't compute the correct value if the passed value of tm isn't the
current system time, i.e. localtime(::time()) (#3351).
2025-03-06 11:54:59 +01:00
toh
2a7f8054a3 Add test case for #3351 (wrong GMT offset in SunOS/Solaris fallback) 2025-03-06 11:46:35 +01:00

View File

@@ -5,7 +5,7 @@
#define SPDLOG_VER_MAJOR 1
#define SPDLOG_VER_MINOR 15
#define SPDLOG_VER_PATCH 2
#define SPDLOG_VER_PATCH 1
#define SPDLOG_TO_VERSION(major, minor, patch) (major * 10000 + minor * 100 + patch)
#define SPDLOG_VERSION SPDLOG_TO_VERSION(SPDLOG_VER_MAJOR, SPDLOG_VER_MINOR, SPDLOG_VER_PATCH)