current.deployment_settings.get_L10n_date_format() for date format | try/catch refactored