Jacky Zhao
2023-12-09 2c69b0c97d40f76363d20478cb799ce4b7518e56
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(