Jacky Zhao
2023-12-15 ed9bd43d9f5e6eb29b86646a4df8d41a53ee316d
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(