Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2020-08-20 | Revert "common/time_zone: Simplify GetOsTimeZoneOffset()" | bunnei | 1 | -5/+9 | |
2020-08-16 | common/time_zone: Simplify GetOsTimeZoneOffset() | Lioncash | 1 | -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-13 | time_zone: Use std::chrono::seconds for strong typing. | bunnei | 1 | -2/+2 | |
2020-05-11 | common: Add module to get the current time zone. | bunnei | 1 | -0/+49 | |