diff --git a/src/helpers/viewdata/index.js b/src/helpers/viewdata/index.js index 5703c3af8..16c4f3534 100644 --- a/src/helpers/viewdata/index.js +++ b/src/helpers/viewdata/index.js @@ -59,7 +59,7 @@ viewController.getData = function(request, cb) { if (!err && setting && setting.value) viewdata.longDateFormat = setting.value; else - viewdata.longDateFormat = 'MM/DD/YYYY h:mma'; + viewdata.longDateFormat = 'MMM DD, YYYY'; return done(); }); diff --git a/src/public/js/modules/helpers.js b/src/public/js/modules/helpers.js index a8ae82a93..30e050766 100644 --- a/src/public/js/modules/helpers.js +++ b/src/public/js/modules/helpers.js @@ -1286,7 +1286,7 @@ function($, _, moment, UIkit, CountUp, Waves, Selectize, Snackbar, ROLES, Cookie if (window.trudeskSettingsService) return window.trudeskSettingsService.getSettings().longDateFormat.value; else - return 'MM/DD/YYYY h:mma'; + return 'MMM DD, YYYY'; }; helpers.formatDate = function(date, format) { diff --git a/src/settings/settingsUtil.js b/src/settings/settingsUtil.js index 2fe21ce47..296418ed4 100644 --- a/src/settings/settingsUtil.js +++ b/src/settings/settingsUtil.js @@ -50,7 +50,7 @@ util.getSettings = function(callback) { s.timezone = parseSetting(settings, 'gen:timezone', 'America/New_York'); s.timeFormat = parseSetting(settings, 'gen:timeFormat', 'hh:mma'); s.shortDateFormat = parseSetting(settings, 'gen:shortDateFormat', 'MM/DD/YYYY'); - s.longDateFormat = parseSetting(settings, 'gen:longDateFormat', 'MM/DD/YYYY h:mma'); + s.longDateFormat = parseSetting(settings, 'gen:longDateFormat', 'MMM DD, YYYY'); s.hasCustomLogo = parseSetting(settings, 'gen:customlogo', false); s.customLogoFilename = parseSetting(settings, 'gen:customlogofilename', '');