Carsten Brandt
cdb7d84fea
added support for non-gregorian calendar to formatter
...
fixes #8687
close #10517
9 years ago
SilverFire - Dima Naumenko
a6e1ba2cf6
Fixed mb_ functions calls to use UTF-8 or app charset
9 years ago
SilverFire - Dima Naumenko
c1b0d1263b
FromatterDateTest - fixed tests on PHP7
9 years ago
SilverFire - Dima Naumenko
b5d95f845e
`Formatter::asDuration()` PHPDoc and PHPUnit test enhanced
9 years ago
John Was
928a02c3bc
Added `Formatter::asDuration()` method
9 years ago
Carsten Brandt
a73ce736ee
improved unit test for date formatter
10 years ago
Carsten Brandt
3c2bd76236
allow negative dates for date formatter
...
fixes #8451
10 years ago
Carsten Brandt
c1fcd2956b
added unit test for issue #8217
...
close #8217
10 years ago
Carsten Brandt
d60445c066
Add DateValidator::$timestampAttributeFormat
...
includes refactoring of the formatting method to fix some major timezone issues.
fixes #5053
close #6820
10 years ago
Alexander Makarov
6949992246
Simplified tests directory structure a bit
10 years ago
Carsten Brandt
aa9fe57fd7
removed date that is not well defined from tests
10 years ago
Carsten Brandt
03351ccba3
added explicit test for the Y2K38 problem
...
http://en.wikipedia.org/wiki/Year_2038_problem
10 years ago
Carsten Brandt
9415c7921d
date formatter fall back to PHP impl. to solve Y2K38 issue
...
formatting date and time values for years >=2038 or <=1901 is now possible also with intl extension is
installed. 32bit systems will fall back to the PHP implementation because intl uses a 32bit UNIX timestamp internally.
On a 64bit system the intl formatter is used in all cases if installed.
fixes #5577
10 years ago
Carsten Brandt
6e7dc26b38
added support for DateTimeImmutable to Formatter
...
fixes #5503
10 years ago
Carsten Brandt
ae1bd39377
adjusted missing return for fix #6263
10 years ago
Carsten Brandt
7325fdd7ed
better fix for #5448 not using customized DateTime class
...
fixes #6263 and has no problem with PHP Bug:
> it is a PHP bug: https://bugs.php.net/bug.php?id=45543
> Fixed in this commit: php/php-src@22dba2f#diff-7b738accc3d60f74c259da18588ddc5dL2996
>
> Fixed in PHP >5.4.26 and >5.5.10. http://3v4l.org/mlZX7
10 years ago
Carsten Brandt
41fca90cce
split formatter test
10 years ago