RichWeber
|
92cd13a913
|
pull origin
|
10 years ago |
Carsten Brandt
|
3a1e0f3a5c
|
property codestyle framework
|
10 years ago |
Kai Mindermann
|
46b553f012
|
fixes formatter doing one division too much, fixes #4427
|
10 years ago |
Kai Mindermann
|
f3520187d6
|
formatter: adds unit tests for base 1000, fixes #4412
|
10 years ago |
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.
|
10 years ago |
Philippe Gaultier
|
20e96cca05
|
Fix DateTime cast
|
11 years ago |
Qiang Xue
|
7d8dfe52cd
|
Fixed test break.
|
11 years ago |
Kartik Visweswaran
|
b1a26ff336
|
Fix the Y2K38 bug
Adds support for timestamps beyond year 2038.
|
11 years ago |
marsuboss
|
db244a61b2
|
Fix typo
|
11 years ago |
Carsten Brandt
|
76d8e2b5b3
|
code style, fixes #3140
|
11 years ago |
Thiago Talma
|
c1445871f4
|
Correction of many errors code inspection.
Adjustments code according to the standards.
Adding missing PHPDoc comment.
|
11 years ago |
Qiang Xue
|
3616d1f0d1
|
Fixes #2816: Changed default date and time format of `yii\base\Formatter` to `Y-m-d` and `H:i:s`
|
11 years ago |
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
|
11 years ago |
Carsten Brandt
|
a9e37b906c
|
fixed typo
|
11 years ago |
Carsten Brandt
|
bf3c75147d
|
reverted breaking PHPdoc codestyle changes
issue #2852
|
11 years ago |
David Renty
|
ed70735b22
|
Changelog and doc
|
11 years ago |
David Renty
|
91e4ad5978
|
PSR-2 compliance
|
11 years ago |
SonicGD
|
b5f8a4dc22
|
Reformat code te be PSR-2 compatible
|
11 years ago |
David Renty
|
0fa5230cd0
|
Removed debug code, changed doc
|
11 years ago |
David Renty
|
cb3eb9c6d8
|
Added support for inverted intervals (future time) and unit tests
|
11 years ago |
ivokund
|
f84de98efb
|
Fixes #2735
Adds DateTimeInterface support for Formatter
|
11 years ago |
David Renty
|
b5cd0a6f0c
|
asElapsedTime can now take a DateInterval string as a parameter
|
11 years ago |
David Renty
|
b7cf618348
|
asElapsedTime style improvements
|
11 years ago |
David Renty
|
f7871e2458
|
asElapsedTime can now take DateInterval as parameter
|
11 years ago |
David Renty
|
a74fa20d2d
|
Typo
|
11 years ago |
David Renty
|
ced45c5450
|
Call Yii::t everytime instead of passing a template variable
|
11 years ago |
David Renty
|
fd7ed28221
|
Typo in asElapsedTime description
|
11 years ago |
David Renty
|
e77ffe2c4a
|
Added asElapsedTime function
|
11 years ago |
AlexGx
|
c047fbe0df
|
fix code style `No space found after comma in function call`
|
11 years ago |
Carsten Brandt
|
33d6acba25
|
Improved behavior support, fixes #2550
call hasMethod() instead of using method_exists
|
11 years ago |
Alexander Makarov
|
03b2fc3e58
|
Adjusted code formatting
|
11 years ago |
Vincent
|
84a48ac93e
|
updated changelog
|
11 years ago |
Vincent
|
9f6cc54154
|
updated code according to code style and removed unused property
|
11 years ago |
Vincent
|
3cb97fb8c8
|
updated formatting
|
11 years ago |
Vincent
|
d12c8d5820
|
#2524 updated as size method to include translation and verbose mode
|
11 years ago |
Carsten Brandt
|
8d2e68b40e
|
removed duplicate arguments from base formattter
|
11 years ago |
Vincent Gabriel
|
9427f4e76b
|
no need for as number #2524
|
11 years ago |
Vincent Gabriel
|
9e231eb8c8
|
added asSize method to format file size #2524
|
11 years ago |
Carsten Brandt
|
262189533a
|
huge amount of documentation link fixes
|
11 years ago |
Qiang Xue
|
d43c339670
|
Formatter::timeZone should take string only.
|
11 years ago |
Qiang Xue
|
698d66a2c1
|
fixed test break
|
11 years ago |
Qiang Xue
|
1ebe46c64a
|
Fixed test break.
|
11 years ago |
Vladimir Zbrailov
|
330ae053e6
|
remove timezone from i18n formatter
|
11 years ago |
Vladimir Zbrailov
|
c8a9ed80c8
|
prevent changing public timezone
|
11 years ago |
Vladimir Zbrailov
|
230f40c866
|
fix formatter
|
11 years ago |
Vladimir Zbrailov
|
84bfc3fc88
|
add timeZone into base formatter
|
11 years ago |
Qiang Xue
|
0c38655217
|
psr-4 move
|
11 years ago |
Carsten Brandt
|
2c9a8b910f
|
make null format look nice by default
|
11 years ago |
Carsten Brandt
|
f3ab5d999b
|
encode email in Formatter
avoid XSS with emails in format "Carsten Brandt <mail@cebe.cc>"
|
11 years ago |
Carsten Brandt
|
539e233d9c
|
massive improvement on class documentation
- added example code for application components
- added missing short description
[ci skip]
|
11 years ago |