yiisoft/yii2 — pull request #3906 by cebe (2014-06-16 17:02:31+00:00)
Title: Erik r 2359 formatter refactored

refactored date formatting functions

- removed unformat methods, they do not belong here
- removed db format, which is also not purpose of this class
- refactored the whole set of methods to be simpler and better
maintainable

More unit tests needed.

TODO:

- [ ] unit tests for date time functoins
- [ ] refactor number formatting functions
- [ ] unit tests for number formatting
- [ ] update docs
- [ ] update guide