1
0
mirror of https://github.com/gabime/spdlog.git synced 2025-04-29 12:03:53 +00:00
Gabi Melman 9c58257480
Fix zformatter on Apple and POSIX.1-2024 conforming platform (#3366)
* Add test case for #3351 (wrong GMT offset in SunOS/Solaris fallback)

* 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).

* Fixed GMT offset test

---------

Co-authored-by: toh <toh@ableton.com>
2025-03-29 13:44:11 +03:00
..
2023-09-25 16:40:36 +03:00
2024-11-01 11:26:03 +02:00
2023-09-25 16:40:36 +03:00
2023-09-25 16:08:29 +03:00
2023-09-25 16:08:29 +03:00
2024-04-30 12:28:13 +03:00
2025-02-01 13:08:54 +02:00
2023-09-25 16:40:36 +03:00
2023-09-25 16:40:36 +03:00
2023-09-25 16:08:29 +03:00
2023-09-25 16:40:36 +03:00
2024-12-01 14:16:52 +02:00
2023-09-25 16:40:36 +03:00
2023-09-25 16:08:29 +03:00
2023-09-25 16:08:29 +03:00
2023-09-25 16:08:29 +03:00
2023-09-25 16:40:36 +03:00
2023-09-25 16:40:36 +03:00