mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-16 13:48:07 -05:00
time_zone: Use std::chrono::seconds for strong typing.
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <chrono>
|
||||
#include <string>
|
||||
|
||||
namespace Common::TimeZone {
|
||||
@ -12,6 +13,6 @@ namespace Common::TimeZone {
|
||||
std::string GetDefaultTimeZone();
|
||||
|
||||
/// Gets the offset of the current timezone (from the default), in seconds
|
||||
int GetCurrentOffsetSeconds();
|
||||
std::chrono::seconds GetCurrentOffsetSeconds();
|
||||
|
||||
} // namespace Common::TimeZone
|
||||
|
Reference in New Issue
Block a user