mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-20 06:37:54 -05:00
time_zone: Use std::chrono::seconds for strong typing.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user