Skip to content

Commit

Permalink
Merge pull request #84301 from jsjtxietian/improve-get_time_zone_from…
Browse files Browse the repository at this point in the history
…_system-doc

Clarify that `get_time_zone_from_system` will return a localized timezone name
  • Loading branch information
akien-mga committed Nov 1, 2023
2 parents e642413 + fd751f9 commit 1267c58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/classes/Time.xml
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@
<return type="Dictionary" />
<description>
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.
- [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 the localized name of the time zone, according to the OS locale settings of the current user.
</description>
</method>
<method name="get_unix_time_from_datetime_dict" qualifiers="const">
Expand Down

0 comments on commit 1267c58

Please sign in to comment.