summaryrefslogtreecommitdiff
path: root/core/bind/core_bind.h
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-06-06 03:40:56 +0200
committerest31 <MTest31@outlook.com>2015-06-06 05:55:28 +0200
commit803069886ebca492c0d5f47133ccf7833c716e5a (patch)
tree711fbad4ba24fe58c7284e177a16bea6adc9eef5 /core/bind/core_bind.h
parent26ea12a873d0e7c1467ee6b52c9559dc5f456bd3 (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 'core/bind/core_bind.h')
-rw-r--r--core/bind/core_bind.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/bind/core_bind.h b/core/bind/core_bind.h
index 05f54dd64c..2400ba3fd4 100644
--- a/core/bind/core_bind.h
+++ b/core/bind/core_bind.h
@@ -204,8 +204,8 @@ public:
void set_use_file_access_save_and_swap(bool p_enable);
void set_icon(const Image& p_icon);
- Dictionary get_date() const;
- Dictionary get_time() const;
+ Dictionary get_date(bool utc) const;
+ Dictionary get_time(bool utc) const;
uint64_t get_unix_time() const;
int get_static_memory_usage() const;