summaryrefslogtreecommitdiffstats
path: root/src/common/time_zone.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-04-23general: Convert source file copyright comments over to SPDXMorph1-3/+2
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2020-08-20Revert "common/time_zone: Simplify GetOsTimeZoneOffset()"bunnei1-5/+9
2020-08-16common/time_zone: Simplify GetOsTimeZoneOffset()Lioncash1-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.
2020-05-13time_zone: Use std::chrono::seconds for strong typing.bunnei1-2/+2
2020-05-11common: Add module to get the current time zone.bunnei1-0/+49