summaryrefslogtreecommitdiffstats
path: root/src/common/time_zone.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Revert "common/time_zone: Simplify GetOsTimeZoneOffset()"bunnei2020-08-201-5/+9
|
* common/time_zone: Simplify GetOsTimeZoneOffset()Lioncash2020-08-161-9/+5
| | | | | | | 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.
* time_zone: Use std::chrono::seconds for strong typing.bunnei2020-05-131-2/+2
|
* common: Add module to get the current time zone.bunnei2020-05-111-0/+49