Merge pull request #73672 from aaronfranke/time-doc

Fix incorrect Time documentation in get_datetime_dict_from_unix_time
This commit is contained in:
Rémi Verschelde
2023-02-21 12:54:47 +01:00
committed by GitHub

View File

@@ -64,7 +64,7 @@
<return type="Dictionary" />
<param index="0" name="unix_time_val" type="int" />
<description>
Converts the given Unix timestamp to a dictionary of keys: [code]year[/code], [code]month[/code], [code]day[/code], and [code]weekday[/code].
Converts the given Unix timestamp to a dictionary of keys: [code]year[/code], [code]month[/code], [code]day[/code], [code]weekday[/code], [code]hour[/code], [code]minute[/code], and [code]second[/code].
The returned Dictionary's values will be the same as the [method get_datetime_dict_from_system] if the Unix timestamp is the current time, with the exception of Daylight Savings Time as it cannot be determined from the epoch.
</description>
</method>