diff --git a/server/objects/settings/ServerSettings.js b/server/objects/settings/ServerSettings.js index 5a83f330..84ee80d8 100644 --- a/server/objects/settings/ServerSettings.js +++ b/server/objects/settings/ServerSettings.js @@ -48,7 +48,7 @@ class ServerSettings { // Misc Flags this.chromecastEnabled = false this.enableEReader = false - this.dateFormat="MM/dd/yyyy" + this.dateFormat = 'MM/dd/yyyy' this.logLevel = Logger.logLevel @@ -96,7 +96,7 @@ class ServerSettings { this.sortingPrefixes = settings.sortingPrefixes || ['the', 'a'] this.chromecastEnabled = !!settings.chromecastEnabled this.enableEReader = !!settings.enableEReader - this.dateFormat = settings.dateFormat + this.dateFormat = settings.dateFormat || 'MM/dd/yyyy' this.logLevel = settings.logLevel || Logger.logLevel this.version = settings.version || null