diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-08-14 09:59:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-14 09:59:05 +0200 |
commit | f33a9db27906153d334e5f85435e063976daa457 (patch) | |
tree | ff6f128717474a2f2ad8dc3455137af3bdf118bb /core/bind/core_bind.h | |
parent | e651102b6f2d4aad48db37ee4017415db031f302 (diff) | |
parent | 43825dce477f5ad2300f1fd5c07cd5aeb00c42b9 (diff) |
Merge pull request #20826 from raphael10241024/mybranch
fix #20390: handle time before year 1970
Diffstat (limited to 'core/bind/core_bind.h')
-rw-r--r-- | core/bind/core_bind.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/bind/core_bind.h b/core/bind/core_bind.h index 311372aeca..b587b9257f 100644 --- a/core/bind/core_bind.h +++ b/core/bind/core_bind.h @@ -270,8 +270,8 @@ public: Dictionary get_date(bool utc) const; Dictionary get_time(bool utc) const; Dictionary get_datetime(bool utc) const; - Dictionary get_datetime_from_unix_time(uint64_t unix_time_val) const; - uint64_t get_unix_time_from_datetime(Dictionary datetime) const; + Dictionary get_datetime_from_unix_time(int64_t unix_time_val) const; + int64_t get_unix_time_from_datetime(Dictionary datetime) const; Dictionary get_time_zone_info() const; uint64_t get_unix_time() const; uint64_t get_system_time_secs() const; |