formatting history page dates