Ticket #880 (new enhancement)
TSimpleDateFormatter: Formatting dates before 1970-01-01 throws TInvalidDataValueException
| Reported by: | falke | Owned by: | xue |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1.3 |
| Component: | Prado Framework v3 | Version: | 3.1 |
| Severity: | minor | Keywords: | |
| Cc: |
Description
Formatting a date with TSimpleDateFormatter->getDate() throws an TInvalidDataValueException if the date is before 1970.01.01. Those dates should be permitted and I suggest to simply eliminate the check
if($date < 0)
.
Change History
Note: See
TracTickets for help on using
tickets.
