89 Commits (aca7390a47acd07e622b65cf9e104dd26cc9993a)

Author SHA1 Message Date
Elvira Sheina aca7390a47 Added closure support in `yii\i18n\Formatter` #4495 (#14326) 7 years ago
Robert Korulczyk ba0ab403b5 Added php-cs-fixer coding standards validation to Travis CI (#14100) 7 years ago
Carsten Brandt b056dff031
improved formatter documentation 7 years ago
Brandon Kelly 981346cb1e Fixed Formatter::normalizeDatetimeValue() docs 7 years ago
Taras Gudz 18bc835243 Typo (#14117) [skip ci] 7 years ago
Nikolay Oleynikov 323568c2e9 Remove trailing spaces from sources and tests (#13621) [skip ci] 8 years ago
Bizley 54278fc842
asTime fixed for time-only values 8 years ago
a.kompaniets 50f3012f68
fixed currency format with custom decimal fraction 8 years ago
Carsten Brandt b4b2b0e6d1
better docs about decimal numbers in Formatter 8 years ago
Anton Kozlov 20a411d8ab Fixed #12822: Fixed datetime creation from microseconds, added tests to \i18n\Formatter::asTimestamp 8 years ago
Robert Korulczyk 7a3a342127 Fix errors reported by apidoc extension. (#12986) 8 years ago
Robert Korulczyk 4aa935e69e Fixes #12055: Changed `boolean` to `bool` and `integer` to `int` in phpdoc 8 years ago
Carsten Brandt 469c0548b6 fixed formatter to respect grouping separator for currency format 8 years ago
Nikola Kovacs 43fddc74c9 remove unnecessary gettimeofday system call 8 years ago
Nikola Kovacs 9d327baa8b coding style fixes 8 years ago
Robbert Jan van de Velde c7f365910d Fixed handling of intervals of 0 seconds in yii\i18n\Formatter::asDuration(). 9 years ago
SilverFire - Dmitry Naumenko 1ff847142d Optimized Formatter::formatSizeNumber() - used normalizeNumericValue() 9 years ago
Carsten Brandt cdb7d84fea added support for non-gregorian calendar to formatter 9 years ago
Marco Germani 5747557794 Update Formatter.php 9 years ago
Marco Germani 53593c8ec3 Update Formatter.php 9 years ago
SilverFire - Dima Naumenko b5d95f845e `Formatter::asDuration()` PHPDoc and PHPUnit test enhanced 9 years ago
John Was 928a02c3bc Added `Formatter::asDuration()` method 9 years ago
Alexander Makarov 1b3770fd21 Use === instead of == where possible 9 years ago
Alexander Makarov 4ecafe653c More compact number operations 9 years ago
Alexander Makarov 5ab4f0f090 Better quotes usage in strings 9 years ago
jeicd 0407407b76 fix coding style to follow PSR-2 9 years ago
Alexandr ded75253ca Change 'de' to 'en' in comments of Formatter.php 9 years ago
Carsten Brandt 60af9d07fb proper fix and changelog for #9108 9 years ago
nxnx b562b50658 fix #9108 ( Negative number results in no formatting when using asSize or asShortSize ) 9 years ago
Carsten Brandt 6d9fe671de various code style and whitespace adjustments 9 years ago
Carsten Brandt 3c9c6b5d7d fixed formatter to accept explicit setting of decimal numbers 9 years ago
MaXL 17d8649509 Fix phpdoc typo 9 years ago
Alexander Mohorev 38ca276e1f PSR-2 try-catch statement 9 years ago
Carsten Brandt 3c2bd76236 allow negative dates for date formatter 9 years ago
Carsten Brandt 543daf099f Added Formatter:$numberFormatterSymbols 10 years ago
Carsten Brandt 95cdd0905d fix case in asDatetime method references 10 years ago
Carsten Brandt 9415c7921d date formatter fall back to PHP impl. to solve Y2K38 issue 10 years ago
Carsten Brandt 6e7dc26b38 added support for DateTimeImmutable to Formatter 10 years ago
Alexander Makarov c6b0e24a45 Fixes #6305: `yii\i18n\Formatter::asParagraphs()` was not unicode-aware 10 years ago
Carsten Brandt ae1bd39377 adjusted missing return for fix #6263 10 years ago
Carsten Brandt 7325fdd7ed better fix for #5448 not using customized DateTime class 10 years ago
Carsten Brandt 8b79293ff2 added missing `@since` annotations 10 years ago
Carsten Brandt 6a8f4b0e50 fixed date formatter to display date-only values correctly 10 years ago
Carsten Brandt c2d814cc3a first draft of a fix for #5448 10 years ago
Alexander Mohorev e92482f554 Typo in word 10 years ago
Carsten Brandt 8039026ae2 added Formatter::defaultTimeZone to allow non UTC-values in DB 10 years ago
Alexander Mohorev f1edafffaf PHPDoc comment doesn't contain all necessary @throws tag 10 years ago
Alexander Makarov 49760b64dd Fixes #5595: Better phpdoc value types for Formatter methods 10 years ago
Alexander Makarov 02622b6fe4 phpdoc fixes and additions 10 years ago
Alexander Makarov 327dde72f4 Fixes #5467: Added ability to pass HTML tag options to `asEmail()`, `asImage()` and `asUrl()` methods of `yii\i18n\Formatter` 10 years ago