Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Browser: Internet Explorer 8.x
Language Found: English
Description
Steps to reproduce:
1.Declare a DateTimeFormatter instance.
2.Set enforceFallback to true.
3.Set dateStyle to 'long' and timeStyle to 'long'
4.Format date
date:Date = new Date(30000000, 11, 31, 23, 59, 59, 935);
Actual Results:
Sunday, December 31, 30000000 11:59:59 PM is returned.
Expected Results:
Empty string should be returned since the date is an invalid date.
Comments:
For flash.globalization.formatters.DateTimeFormatter, empty string will be returned when formatting an invalid date.