diff options
author | est31 <MTest31@outlook.com> | 2015-06-06 03:40:56 +0200 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2015-06-06 05:55:28 +0200 |
commit | 803069886ebca492c0d5f47133ccf7833c716e5a (patch) | |
tree | 711fbad4ba24fe58c7284e177a16bea6adc9eef5 /platform/winrt/os_winrt.h | |
parent | 26ea12a873d0e7c1467ee6b52c9559dc5f456bd3 (diff) |
Add utc param to get_time and get_date methods
If utc == false, we return the local time, like before.
Otherwise, we return UTC time.
utc defaults to false to not break behaviour.
Diffstat (limited to 'platform/winrt/os_winrt.h')
-rw-r--r-- | platform/winrt/os_winrt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/winrt/os_winrt.h b/platform/winrt/os_winrt.h index 68236309a9..af44bd338e 100644 --- a/platform/winrt/os_winrt.h +++ b/platform/winrt/os_winrt.h @@ -198,8 +198,8 @@ public: virtual String get_name(); - virtual Date get_date() const; - virtual Time get_time() const; + virtual Date get_date(bool utc) const; + virtual Time get_time(bool utc) const; virtual uint64_t get_unix_time() const; virtual bool can_draw() const; |