octicon-git-branch(16/) Commit Graph

45 Commits

Author SHA1 Message Date
Kartik Visweswaran
7f788e7427 Fix #3756: Convert values to float for number formatting
Convert string values to floating point, so that `number_format` method can properly format values.
2014-06-09 19:35:13 +05:30 octicon-file-diff(16/) octicon-file-code(16/)
Philippe Gaultier
20e96cca05 Fix DateTime cast 2014-04-24 17:06:44 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
7d8dfe52cd Fixed test break. 2014-04-20 14:59:13 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Kartik Visweswaran
b1a26ff336 Fix the Y2K38 bug
Adds support for timestamps beyond year 2038.
2014-04-20 19:08:08 +05:30 octicon-file-diff(16/) octicon-file-code(16/)
marsuboss
db244a61b2 Fix typo 2014-04-18 09:48:58 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
76d8e2b5b3 code style, fixes #3140 2014-04-17 13:24:16 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Thiago Talma
c1445871f4 Correction of many errors code inspection.
Adjustments code according to the standards.
Adding missing PHPDoc comment.
2014-04-16 19:29:07 -03:00 octicon-file-diff(16/) octicon-file-code(16/)
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 octicon-file-diff(16/) octicon-file-code(16/)
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 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
a9e37b906c fixed typo 2014-03-23 21:25:45 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
David Renty
ed70735b22 Changelog and doc 2014-03-19 10:48:20 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
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 octicon-file-diff(16/) octicon-file-code(16/)
David Renty
91e4ad5978 PSR-2 compliance 2014-03-17 12:02:26 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00 octicon-file-diff(16/) octicon-file-code(16/)
David Renty
0fa5230cd0 Removed debug code, changed doc 2014-03-14 18:37:11 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
David Renty
cb3eb9c6d8 Added support for inverted intervals (future time) and unit tests 2014-03-14 18:29:23 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
ivokund
f84de98efb Fixes #2735
Adds DateTimeInterface support for Formatter
2014-03-13 15:39:29 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
David Renty
b5cd0a6f0c asElapsedTime can now take a DateInterval string as a parameter 2014-03-12 16:58:12 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
David Renty
b7cf618348 asElapsedTime style improvements 2014-03-12 16:02:45 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
David Renty
f7871e2458 asElapsedTime can now take DateInterval as parameter 2014-03-12 15:57:20 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
David Renty
a74fa20d2d Typo 2014-03-12 14:51:20 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
David Renty
ced45c5450 Call Yii::t everytime instead of passing a template variable 2014-03-12 14:49:28 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
David Renty
fd7ed28221 Typo in asElapsedTime description 2014-03-12 14:38:00 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
David Renty
e77ffe2c4a Added asElapsedTime function 2014-03-12 14:29:49 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
AlexGx
c047fbe0df fix code style No space found after comma in function call 2014-03-04 05:46:43 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
33d6acba25 Improved behavior support, fixes #2550
call hasMethod() instead of using method_exists
2014-02-26 14:18:24 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
03b2fc3e58 Adjusted code formatting 2014-02-25 23:02:40 +04:00 octicon-file-diff(16/) octicon-file-code(16/)
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 octicon-file-diff(16/) octicon-file-code(16/)
Vincent
84a48ac93e updated changelog 2014-02-24 13:45:44 -08:00 octicon-file-diff(16/) octicon-file-code(16/)
Vincent
9f6cc54154 updated code according to code style and removed unused property 2014-02-24 13:26:55 -08:00 octicon-file-diff(16/) octicon-file-code(16/)
Vincent
3cb97fb8c8 updated formatting 2014-02-24 12:01:53 -08:00 octicon-file-diff(16/) octicon-file-code(16/)
Vincent
d12c8d5820 #2524 updated as size method to include translation and verbose mode 2014-02-24 10:57:36 -08:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
8d2e68b40e removed duplicate arguments from base formattter 2014-02-24 17:19:01 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Vincent Gabriel
9427f4e76b no need for as number #2524 2014-02-23 16:36:17 -08:00 octicon-file-diff(16/) octicon-file-code(16/)
Vincent Gabriel
9e231eb8c8 added asSize method to format file size #2524 2014-02-23 16:23:05 -08:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
262189533a huge amount of documentation link fixes 2014-01-28 17:54:40 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
d43c339670 Formatter::timeZone should take string only. 2014-01-26 12:49:55 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
698d66a2c1 fixed test break 2014-01-25 19:01:32 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
1ebe46c64a Fixed test break. 2014-01-25 17:53:15 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Vladimir Zbrailov
330ae053e6 remove timezone from i18n formatter 2014-01-26 01:42:36 +04:00 octicon-file-diff(16/) octicon-file-code(16/)
Vladimir Zbrailov
c8a9ed80c8 prevent changing public timezone 2014-01-26 00:51:17 +04:00 octicon-file-diff(16/) octicon-file-code(16/)
Vladimir Zbrailov
230f40c866 fix formatter 2014-01-26 00:32:21 +04:00 octicon-file-diff(16/) octicon-file-code(16/)
Vladimir Zbrailov
84bfc3fc88 add timeZone into base formatter 2014-01-25 23:51:35 +04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00 octicon-file-diff(16/) octicon-file-code(16/)