diff --git a/src/platform/web/dom/TimeFormatter.ts b/src/platform/web/dom/TimeFormatter.ts index 7db879ea..2a98a716 100644 --- a/src/platform/web/dom/TimeFormatter.ts +++ b/src/platform/web/dom/TimeFormatter.ts @@ -61,7 +61,6 @@ export class TimeFormatter implements ITimeFormatter { formatRelativeDate(date: Date): string { let daysDiff = Math.floor((date.getTime() - this.todayMidnight.getTime()) / TimeScope.Day); - console.log("formatRelativeDate daysDiff", daysDiff, date); if (daysDiff >= -1 && daysDiff <= 1) { // Tomorrow, Today, Yesterday return capitalizeFirstLetter(this.relativeDayFormatter.format(daysDiff, "day")); @@ -80,4 +79,4 @@ export class TimeFormatter implements ITimeFormatter { function capitalizeFirstLetter(str: string) { return str.slice(0, 1).toLocaleUpperCase() + str.slice(1); -} \ No newline at end of file +}