Jacky Zhao
2023-10-05 afa163f2fe9c52d4b3bf1a2e4d48887916b67c24
quartz/plugins/transformers/lastmod.ts
@@ -14,7 +14,7 @@
function coerceDate(fp: string, d: any): Date {
  const dt = new Date(d)
  const invalidDate = isNaN(dt.getTime())
  const invalidDate = isNaN(dt.getTime()) || dt.getTime() === 0
  if (invalidDate && d !== undefined) {
    console.log(
      chalk.yellow(