Fix pretty date formatting