浏览代码

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

Document `get_time_zone_from_system` will return a localized timezone name
Rémi Verschelde 1 年之前
父节点
当前提交
cf16c69e7d
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      doc/classes/Time.xml

+ 3 - 1
doc/classes/Time.xml

@@ -152,7 +152,9 @@
 		<method name="get_time_zone_from_system" qualifiers="const">
 		<method name="get_time_zone_from_system" qualifiers="const">
 			<return type="Dictionary" />
 			<return type="Dictionary" />
 			<description>
 			<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>
 			</description>
 		</method>
 		</method>
 		<method name="get_unix_time_from_datetime_dict" qualifiers="const">
 		<method name="get_unix_time_from_datetime_dict" qualifiers="const">