Commit Graph

12 Commits

Author SHA1 Message Date
Carsten Brandt
07d3217706 added test for negative date formatter values
test for #9628
2016-07-04 12:42:09 +02:00
Robbert Jan van de Velde
c7f365910d Fixed handling of intervals of 0 seconds in yii\i18n\Formatter::asDuration().
Added unit tests for handling 0 second intervals and numeric values for yii\i18n\Formatter::asDuration().

Closes #11038
2016-03-08 15:12:08 +02:00
Carsten Brandt
cdb7d84fea added support for non-gregorian calendar to formatter
fixes #8687
close #10517
2016-01-02 19:42:35 +01:00
SilverFire - Dima Naumenko
a6e1ba2cf6 Fixed mb_ functions calls to use UTF-8 or app charset 2015-11-17 09:02:22 +02:00
SilverFire - Dima Naumenko
c1b0d1263b FromatterDateTest - fixed tests on PHP7 2015-11-10 14:43:56 +02:00
SilverFire - Dima Naumenko
b5d95f845e Formatter::asDuration() PHPDoc and PHPUnit test enhanced 2015-10-26 23:57:05 +02:00
John Was
928a02c3bc Added Formatter::asDuration() method 2015-10-26 20:48:39 +02:00
Carsten Brandt
a73ce736ee improved unit test for date formatter 2015-05-18 02:15:59 +02:00
Carsten Brandt
3c2bd76236 allow negative dates for date formatter
fixes #8451
2015-05-18 02:14:14 +02:00
Carsten Brandt
c1fcd2956b added unit test for issue #8217
close #8217
2015-05-17 00:50:29 +02:00
Carsten Brandt
d60445c066 Add DateValidator::$timestampAttributeFormat
includes refactoring of the formatting method to fix some major timezone issues.

fixes #5053
close #6820
2015-05-01 18:53:28 +02:00
Alexander Makarov
6949992246 Simplified tests directory structure a bit 2015-04-16 12:10:01 +03:00