From 763d8b38338f99212009fbdb9053f265f611b62f Mon Sep 17 00:00:00 2001 From: Collin Duncan <3679940+cgduncan7@users.noreply.github.com> Date: Fri, 10 Feb 2023 14:44:52 +0100 Subject: [PATCH] Removing logger from dayjs wrapper --- src/common/dayjs.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/common/dayjs.ts b/src/common/dayjs.ts index d186582..97e310a 100644 --- a/src/common/dayjs.ts +++ b/src/common/dayjs.ts @@ -3,7 +3,6 @@ import isSameOrBefore from 'dayjs/plugin/isSameOrBefore' import utc from 'dayjs/plugin/utc' import timezone from 'dayjs/plugin/timezone' import 'dayjs/locale/nl' -import { asyncLocalStorage } from './logger' dayjs.extend(isSameOrBefore) dayjs.extend(utc) @@ -15,7 +14,6 @@ dayjs.tz.setDefault('Europe/Amsterdam') const dayjsTz = ( date?: string | number | Date | dayjs.Dayjs | null | undefined ) => { - asyncLocalStorage.getStore()?.debug(` timezoning ${date}`) return dayjs(date).tz() }