feat(dateFormat): Added support for ui.config closes #349

Still lacking unit test for new features. Not sure how to specify `ui.config` for only 1 test.