Browse Source

[docs] clarify

closes #11346
Simon Krajewski 1 year ago
parent
commit
b6e55bf266
1 changed files with 2 additions and 0 deletions
  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;
 }