diff --git a/npm/ng-packs/packages/core/src/lib/pipes/utc-to-local.pipe.ts b/npm/ng-packs/packages/core/src/lib/pipes/utc-to-local.pipe.ts index 200c9108f5..d0e1452fc5 100644 --- a/npm/ng-packs/packages/core/src/lib/pipes/utc-to-local.pipe.ts +++ b/npm/ng-packs/packages/core/src/lib/pipes/utc-to-local.pipe.ts @@ -17,7 +17,6 @@ export class UtcToLocalPipe implements PipeTransform { const dateInput = new Date(value); if (isNaN(dateInput.getTime())) { - // Invalid date return ''; } @@ -26,10 +25,8 @@ export class UtcToLocalPipe implements PipeTransform { const options: Intl.DateTimeFormatOptions = this.timezoneService.isUtcClockEnabled ? { timeZone: this.timezoneService.getTimezone() } : undefined; - console.log(locale, options); return dateInput.toLocaleString(locale, options); } catch (err) { - console.log(err); return value; } }