Adding a prettifyDate helper