From c5338fd6c40d08472b680809cfa04d47826bdcf5 Mon Sep 17 00:00:00 2001 From: est31 Date: Sat, 6 Jun 2015 05:35:38 +0200 Subject: 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. --- drivers/unix/os_unix.h | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/unix/os_unix.h') diff --git a/drivers/unix/os_unix.h b/drivers/unix/os_unix.h index bafa590d5..8bb57eda1 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; -- cgit v1.2.3-70-g09d2