diff --git a/smp-angular/src/app/common/utils/date-utils.ts b/smp-angular/src/app/common/utils/date-utils.ts
index 1f9e571e2e3313e2b563a6ab86a6b78d9c1d812a..f1e51eee27983c9eb93b3dff9c011f54b78deb73 100644
--- a/smp-angular/src/app/common/utils/date-utils.ts
+++ b/smp-angular/src/app/common/utils/date-utils.ts
@@ -23,7 +23,7 @@ export default class DateUtils {
    * @param withZone - flag to include the time zone in the formatted date time string
    */
   static getDateTimeFormatForLocal(locale: string, withSeconds: boolean = true, withZone: boolean = false): string {
-    locale = locale ? locale : this.DEFAULT_LOCALE;
+    locale = locale || this.DEFAULT_LOCALE;
     let format: string = getLocaleDateTimeFormat(locale, FormatWidth.Short);
     let fullTime = getLocaleTimeFormat(locale, withSeconds ? FormatWidth.Medium : FormatWidth.Short);
     let fullDate = getLocaleDateFormat(locale, FormatWidth.Short);