issue #16 cleaning up formatDate stuff. More backwards incompatibility as I refactor and attah fns properly