summaryrefslogtreecommitdiff
path: root/src/common/time_zone.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/time_zone.h')
-rw-r--r--src/common/time_zone.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/time_zone.h b/src/common/time_zone.h
index b7aa1bb10..945daa09c 100644
--- a/src/common/time_zone.h
+++ b/src/common/time_zone.h
@@ -4,6 +4,7 @@
4 4
5#pragma once 5#pragma once
6 6
7#include <chrono>
7#include <string> 8#include <string>
8 9
9namespace Common::TimeZone { 10namespace Common::TimeZone {
@@ -12,6 +13,6 @@ namespace Common::TimeZone {
12std::string GetDefaultTimeZone(); 13std::string GetDefaultTimeZone();
13 14
14/// Gets the offset of the current timezone (from the default), in seconds 15/// Gets the offset of the current timezone (from the default), in seconds
15int GetCurrentOffsetSeconds(); 16std::chrono::seconds GetCurrentOffsetSeconds();
16 17
17} // namespace Common::TimeZone 18} // namespace Common::TimeZone