mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-19 05:27:53 +00:00
time_zone: Use std::chrono::seconds for strong typing.
This commit is contained in:
parent
f42b9c0a85
commit
053399a553
3 changed files with 5 additions and 4 deletions
|
@ -25,7 +25,7 @@ static std::chrono::seconds GetSecondsSinceEpoch() {
|
|||
static s64 GetExternalTimeZoneOffset() {
|
||||
// With "auto" timezone setting, we use the external system's timezone offset
|
||||
if (Settings::GetTimeZoneString() == "auto") {
|
||||
return Common::TimeZone::GetCurrentOffsetSeconds();
|
||||
return Common::TimeZone::GetCurrentOffsetSeconds().count();
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue