summaryrefslogtreecommitdiff
path: root/drivers/unix/os_unix.h
diff options
context:
space:
mode:
authorJames <gotnospirit@gmail.com>2022-09-08 13:36:10 +0800
committerJames <gotnospirit@gmail.com>2022-09-10 07:58:38 +0800
commit0aecfc92540618508568b5c7e8a050d36cf5322b (patch)
treead7fe94efad6acb9deb5c160ba672cf37f9f8b0f /drivers/unix/os_unix.h
parent27e132347324318567419ac5039d51338d7d4f0e (diff)
Fixes #65377: get_datetime_* functions can return wrong values
Diffstat (limited to 'drivers/unix/os_unix.h')
-rw-r--r--drivers/unix/os_unix.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/unix/os_unix.h b/drivers/unix/os_unix.h
index f4609a565b..b4c844bfef 100644
--- a/drivers/unix/os_unix.h
+++ b/drivers/unix/os_unix.h
@@ -63,8 +63,7 @@ public:
virtual String get_name() const override;
- virtual Date get_date(bool p_utc) const override;
- virtual Time get_time(bool p_utc) const override;
+ virtual DateTime get_datetime(bool p_utc) const override;
virtual TimeZoneInfo get_time_zone_info() const override;
virtual double get_unix_time() const override;