Skip to content

Commit 290a37f

Browse files
author
touchRED
committed
chore: add temp debug logs
1 parent c49b5ef commit 290a37f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/cleaners/date-published.js

+4
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,14 @@ export default function cleanDatePublished(
7474

7575
let date = createDate(dateString, timezone, format);
7676

77+
console.log('date 1', dateString, date.format());
78+
7779
if (!date.isValid()) {
7880
dateString = cleanDateString(dateString);
7981
date = createDate(dateString, timezone);
8082
}
8183

84+
console.log('date 2', dateString, date.format());
85+
8286
return date.isValid() ? date.toISOString() : null;
8387
}

0 commit comments

Comments
 (0)