Skip to content

Commit

Permalink
Merge pull request #82609 from jsjtxietian/document-localized-timezon…
Browse files Browse the repository at this point in the history
…e-name

Document `get_time_zone_from_system` will return a localized timezone name
  • Loading branch information
akien-mga committed Oct 31, 2023
2 parents a4efb5a + 5eeb151 commit cf16c69
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/classes/Time.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit cf16c69

Please sign in to comment.