summaryrefslogtreecommitdiffstats
path: root/src/common/time_zone.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* common: Move system time zone string detectionlat9nq2023-06-051-0/+6
| | | | | | | | | | | | Moves it from Settings to Common::TimeZone, since this algorithm doesn't depend on the setting. It also lets us use it in other libraries. common: Various fixes time_zone: Don't double up the std::abs Too many absolute values were causing mirrored time zones to resolve as the same.
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-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.
* common: Make use of [[nodiscard]] where applicableLioncash2020-08-151-2/+2
| | | | | | Now that clang-format makes [[nodiscard]] attributes format sensibly, we can apply them to several functions within the common library to allow the compiler to complain about any misuses of the functions.
* time_zone: Use std::chrono::seconds for strong typing.bunnei2020-05-131-1/+2
|
* common: Add module to get the current time zone.bunnei2020-05-111-0/+17