moving dateFormatter to be public facing