Commit Graph

37 Commits

Author SHA1 Message Date
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
Carsten Brandt
a9e37b906c fixed typo 2014-03-23 21:25:45 +01:00
Carsten Brandt
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
David Renty
ed70735b22 Changelog and doc 2014-03-19 10:48:20 +01:00
David Renty
dde5a00ce3 Merge branch 'master' of https://github.com/yiisoft/yii2
Conflicts:
	framework/base/Formatter.php
	tests/unit/framework/base/FormatterTest.php
2014-03-18 17:31:11 +01:00
David Renty
91e4ad5978 PSR-2 compliance 2014-03-17 12:02:26 +01:00
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
David Renty
0fa5230cd0 Removed debug code, changed doc 2014-03-14 18:37:11 +01:00
David Renty
cb3eb9c6d8 Added support for inverted intervals (future time) and unit tests 2014-03-14 18:29:23 +01:00
ivokund
f84de98efb Fixes #2735
Adds DateTimeInterface support for Formatter
2014-03-13 15:39:29 +02:00
David Renty
b5cd0a6f0c asElapsedTime can now take a DateInterval string as a parameter 2014-03-12 16:58:12 +01:00
David Renty
b7cf618348 asElapsedTime style improvements 2014-03-12 16:02:45 +01:00
David Renty
f7871e2458 asElapsedTime can now take DateInterval as parameter 2014-03-12 15:57:20 +01:00
David Renty
a74fa20d2d Typo 2014-03-12 14:51:20 +01:00
David Renty
ced45c5450 Call Yii::t everytime instead of passing a template variable 2014-03-12 14:49:28 +01:00
David Renty
fd7ed28221 Typo in asElapsedTime description 2014-03-12 14:38:00 +01:00
David Renty
e77ffe2c4a Added asElapsedTime function 2014-03-12 14:29:49 +01:00
AlexGx
c047fbe0df fix code style No space found after comma in function call 2014-03-04 05:46:43 +02:00
Carsten Brandt
33d6acba25 Improved behavior support, fixes #2550
call hasMethod() instead of using method_exists
2014-02-26 14:18:24 +01:00
Alexander Makarov
03b2fc3e58 Adjusted code formatting 2014-02-25 23:02:40 +04:00
Alexander Makarov
dab4f9d665 Merge branch '2524-formatter-format-file-size' of github.com:VinceG/yii2 into VinceG-2524-formatter-format-file-size
Conflicts:
	framework/CHANGELOG.md
2014-02-25 22:59:12 +04:00
Vincent
84a48ac93e updated changelog 2014-02-24 13:45:44 -08:00
Vincent
9f6cc54154 updated code according to code style and removed unused property 2014-02-24 13:26:55 -08:00
Vincent
3cb97fb8c8 updated formatting 2014-02-24 12:01:53 -08:00
Vincent
d12c8d5820 #2524 updated as size method to include translation and verbose mode 2014-02-24 10:57:36 -08:00
Carsten Brandt
8d2e68b40e removed duplicate arguments from base formattter 2014-02-24 17:19:01 +01:00
Vincent Gabriel
9427f4e76b no need for as number #2524 2014-02-23 16:36:17 -08:00
Vincent Gabriel
9e231eb8c8 added asSize method to format file size #2524 2014-02-23 16:23:05 -08:00
Carsten Brandt
262189533a huge amount of documentation link fixes 2014-01-28 17:54:40 +01:00
Qiang Xue
d43c339670 Formatter::timeZone should take string only. 2014-01-26 12:49:55 -05:00
Qiang Xue
698d66a2c1 fixed test break 2014-01-25 19:01:32 -05:00
Qiang Xue
1ebe46c64a Fixed test break. 2014-01-25 17:53:15 -05:00
Vladimir Zbrailov
330ae053e6 remove timezone from i18n formatter 2014-01-26 01:42:36 +04:00
Vladimir Zbrailov
c8a9ed80c8 prevent changing public timezone 2014-01-26 00:51:17 +04:00
Vladimir Zbrailov
230f40c866 fix formatter 2014-01-26 00:32:21 +04:00
Vladimir Zbrailov
84bfc3fc88 add timeZone into base formatter 2014-01-25 23:51:35 +04:00
Qiang Xue
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00