Skip to content

Commit bdda1bb

Browse files
author
touchRED
committed
chore: temp error logs
1 parent 290a37f commit bdda1bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cleaners/date-published.js

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ export function createDate(dateString, timezone, format) {
5050
? dayjs.tz(dateString, format, timezone)
5151
: dayjs.tz(dayjs(dateString).format('YYYY-MM-DD HH:mm:ss'), timezone);
5252
} catch (error) {
53+
console.log('error:', error);
5354
// return an intentionally invalid dayjs object,
5455
// in case the input needs to be cleaned first
5556
return dayjs('');

0 commit comments

Comments
 (0)