From b6e55bf266b5470dff6125f22e33350f0afe76d7 Mon Sep 17 00:00:00 2001 From: Simon Krajewski Date: Wed, 25 Oct 2023 12:39:46 +0200 Subject: [PATCH] [docs] clarify closes #11346 --- std/Date.hx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/std/Date.hx b/std/Date.hx index 309b340a74c..7f05cc1e727 100644 --- a/std/Date.hx +++ b/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; }