Skip to content

Commit

Permalink
chore(release): 1.0.5
Browse files Browse the repository at this point in the history
## [1.0.5](v1.0.4...v1.0.5) (2019-01-09)

### Bug Fixes

* **api:** tickets [#124](#124) - unable to update ticket status ([ab614a4](ab614a4))
* **backup:** crash on restore ([a613612](a613612))
* **backup:** restore directory fails to create ([d68a045](d68a045))
* **backup:** restore sending error response to soon ([605c8d8](605c8d8))
* **mailcheck:** event leak ([23eaab3](23eaab3))
* **nav:** disappearing dashboard button ([32a4e87](32a4e87))
* **overdue:** overdue card showing incorrect tickets ([72e2584](72e2584))
* **tags:** tags with min2 were not creating ([9a22364](9a22364))
* **ticket:** fix [#116](#116) - ability to configure character limit on tickets ([88ae488](88ae488))
  • Loading branch information
polonel committed Jan 9, 2019
2 parents 8b09313 + a59faed commit 735a27b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/helpers/viewdata/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
Expand Down
2 changes: 1 addition & 1 deletion src/public/js/modules/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion src/settings/settingsUtil.js
Original file line number Diff line number Diff line change
Expand Up @@ -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', '');
Expand Down

0 comments on commit 735a27b

Please sign in to comment.