improvements on date formatting and theming