mirror of https://github.com/gabime/spdlog.git
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).pull/3353/head
parent
2a7f8054a3
commit
b524a4a661
Loading…
Reference in New Issue