Added support for the date format from dashboard settings.