Merge pull request #82609 from jsjtxietian/document-localized-timezone-name

Document `get_time_zone_from_system` will return a localized timezone name
This commit is contained in:
Rémi Verschelde 2023-10-31 13:46:14 +01:00
commit cf16c69e7d
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -152,7 +152,9 @@
<method name="get_time_zone_from_system" qualifiers="const">
<return type="Dictionary" />
<description>
Returns the current time zone as a dictionary of keys: [code]bias[/code] and [code]name[/code]. The [code]bias[/code] value is the offset from UTC in minutes, since not all time zones are multiples of an hour from UTC.
Returns the current time zone as a dictionary of keys: [code]bias[/code] and [code]name[/code].
- [code]bias[/code] is the offset from UTC in minutes, since not all time zones are multiples of an hour from UTC.
- [code]name[/code] is localized according to the current user default UI language.
</description>
</method>
<method name="get_unix_time_from_datetime_dict" qualifiers="const">