diff options
author | Aitor Cereceto <cereender@gmail.com> | 2021-03-12 08:12:43 +0100 |
---|---|---|
committer | Aitor Cereceto <cereender@gmail.com> | 2021-03-12 09:27:21 +0100 |
commit | 1e820b3d9db58b6d72ad3ba227cd5e401893c72a (patch) | |
tree | b19f0bdf385858e5f9d8e1b65315225578edf652 /doc | |
parent | 27dea9366f0ab0229bc52a39ce701a46d107020b (diff) |
[46188] fix: get unix from datetime when empty dict
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/OS.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/OS.xml b/doc/classes/OS.xml index 057a2b8d1a..548147beab 100644 --- a/doc/classes/OS.xml +++ b/doc/classes/OS.xml @@ -367,6 +367,7 @@ <description> Gets an epoch time value from a dictionary of time values. [code]datetime[/code] must be populated with the following keys: [code]year[/code], [code]month[/code], [code]day[/code], [code]hour[/code], [code]minute[/code], [code]second[/code]. + If the dictionary is empty [code]0[/code] is returned. You can pass the output from [method get_datetime_from_unix_time] directly into this function. Daylight Savings Time ([code]dst[/code]), if present, is ignored. </description> </method> |