summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsjtxietian <jsjtxietian@outlook.com>2023-10-01 11:19:18 +0800
committerjsjtxietian <jsjtxietian@outlook.com>2023-10-31 12:29:10 +0800
commit5eeb1518a843af1f1328365d852f173f45645406 (patch)
treec91c149e21ea8488d809c1d14f09e29f37ea3452
parent9144457484f9d2f53990a0aac37caff1c9012e6d (diff)
downloadredot-engine-5eeb1518a843af1f1328365d852f173f45645406.tar.gz
Document get_time_zone_from_system will return a localized timezone name
-rw-r--r--doc/classes/Time.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/classes/Time.xml b/doc/classes/Time.xml
index 9dc567562a..0313381ff0 100644
--- a/doc/classes/Time.xml
+++ b/doc/classes/Time.xml
@@ -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">