From bdda1bb0422ac2728a231cf1fdd3a6f11e55d24c Mon Sep 17 00:00:00 2001 From: touchRED Date: Wed, 29 Mar 2023 13:23:03 -0400 Subject: [PATCH] chore: temp error logs --- src/cleaners/date-published.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cleaners/date-published.js b/src/cleaners/date-published.js index cc3e17814..f4341c908 100644 --- a/src/cleaners/date-published.js +++ b/src/cleaners/date-published.js @@ -50,6 +50,7 @@ export function createDate(dateString, timezone, format) { ? dayjs.tz(dateString, format, timezone) : dayjs.tz(dayjs(dateString).format('YYYY-MM-DD HH:mm:ss'), timezone); } catch (error) { + console.log('error:', error); // return an intentionally invalid dayjs object, // in case the input needs to be cleaned first return dayjs('');