瀏覽代碼

[docs] clarify

closes #11346
Simon Krajewski 1 年之前
父節點
當前提交
b6e55bf266
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      std/Date.hx

+ 2 - 0
std/Date.hx

@@ -178,6 +178,8 @@ extern class Date {
 
 		The first two formats expressed a date in local time. The third is a time
 		relative to the UTC epoch.
+
+		If `s` does not match these formats, the result is unspecified.
 	**/
 	static function fromString(s:String):Date;
 }