summaryrefslogtreecommitdiff
path: root/src/common/time_zone.cpp
AgeCommit message (Collapse)Author
2020-08-19Revert "common/time_zone: Simplify GetOsTimeZoneOffset()"bunnei
2020-08-16common/time_zone: Simplify GetOsTimeZoneOffset()Lioncash
We can simplify this function down into a single line with the use of fmt. A benefit with the fmt approach is that the fmt variant of localtime is thread-safe as well, making GetOsTimeZoneOffset() thread-safe as well.
2020-05-12time_zone: Use std::chrono::seconds for strong typing.bunnei
2020-05-11common: Add module to get the current time zone.bunnei