From 803069886ebca492c0d5f47133ccf7833c716e5a Mon Sep 17 00:00:00 2001 From: est31 Date: Sat, 6 Jun 2015 03:40:56 +0200 Subject: 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. --- drivers/unix/os_unix.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/unix/os_unix.h') diff --git a/drivers/unix/os_unix.h b/drivers/unix/os_unix.h index 65df113956..bafa590d5f 100644 --- a/drivers/unix/os_unix.h +++ b/drivers/unix/os_unix.h @@ -88,8 +88,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; -- cgit v1.2.3