Commit Graph

12 Commits

Author SHA1 Message Date
Qiang Xue
3616d1f0d1 Fixes #2816: Changed default date and time format of yii\base\Formatter to Y-m-d and H:i:s 2014-04-05 18:15:06 -04:00
Alexander Makarov
6054ede16a Fixed phpdoc, removed unit tests for Formatter asRelativeTime that were relative to current time since it was impossible to specify correct expected values 2014-03-31 02:05:04 +04:00
David Renty
91e4ad5978 PSR-2 compliance 2014-03-17 12:02:26 +01:00
David Renty
cb3eb9c6d8 Added support for inverted intervals (future time) and unit tests 2014-03-14 18:29:23 +01:00
Alexander Makarov
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
Carsten Brandt
949dda5fdb tagged tests with @group tags 2013-09-14 12:49:47 +02:00
Qiang Xue
60ba20491e Added support for passing parameters to the format method. 2013-08-03 16:51:57 -04:00
Qiang Xue
3eccd850fe Added Formatter::nullDisplay. 2013-06-25 11:32:16 -04:00
Alexander Kochetov
9bb0ce4b1c Html helper pure HTML 5 mode without support old standarts 2013-06-19 20:14:40 +04:00
Carsten Brandt
8b6447876a refactored numberformatting in base\Formatter
added decimalSeparator and thousandSeparator properties.
issue #48
2013-05-29 02:19:08 +02:00
Qiang Xue
9a97037012 Finished Formatter. 2013-05-28 18:55:26 -04:00
Qiang Xue
000fdc3de0 formatter WIP. 2013-05-28 17:27:37 -04:00