diff options
| author | est31 <MTest31@outlook.com> | 2015-06-06 05:35:38 +0200 |
|---|---|---|
| committer | est31 <MTest31@outlook.com> | 2015-06-06 05:57:33 +0200 |
| commit | c5338fd6c40d08472b680809cfa04d47826bdcf5 (patch) | |
| tree | d9cbdebd87b97616e0cbd52e46ad6887f01d90e1 /drivers/unix/os_unix.h | |
| parent | 803069886ebca492c0d5f47133ccf7833c716e5a (diff) | |
| download | redot-engine-c5338fd6c40d08472b680809cfa04d47826bdcf5.tar.gz | |
Add OS.get_time_zone_info function
The returned dictionary maps "name" to the
name of the current time zone, and "bias" to
a bias from UTC in minutes.
Diffstat (limited to 'drivers/unix/os_unix.h')
| -rw-r--r-- | drivers/unix/os_unix.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/unix/os_unix.h b/drivers/unix/os_unix.h index bafa590d5f..8bb57eda12 100644 --- a/drivers/unix/os_unix.h +++ b/drivers/unix/os_unix.h @@ -90,6 +90,7 @@ public: virtual Date get_date(bool utc) const; virtual Time get_time(bool utc) const; + virtual TimeZoneInfo get_time_zone_info() const; virtual uint64_t get_unix_time() const; |
