Check HTML and XML files for strings containing "Invalid ​DateTime" from failed/malformed DateTime formatting. https://chrisburnell.com/check-invalid-datetimes/
Find a file
2025-09-08 14:18:46 -03:00
.github refactor: tests; error instance checking 2024-08-11 04:25:06 +08:00
src fix: styleText requires string 2025-09-08 14:18:46 -03:00
test refactor: tests; error instance checking 2024-08-11 04:25:06 +08:00
.editorconfig refactor: print messages as soon as possible 2024-08-06 17:56:00 +08:00
.npmignore refactor: tests; error instance checking 2024-08-11 04:25:06 +08:00
.prettierignore chore: code clean up 2024-08-06 13:48:57 +08:00
.prettierrc refactor: tests; error instance checking 2024-08-11 04:25:06 +08:00
check-invalid-datetimes.js refactor: tests; error instance checking 2024-08-11 04:25:06 +08:00
check-invalid-datetimes.test.js fix: tests 2024-08-11 04:40:15 +08:00
LICENSE initital commit 2024-07-05 21:55:16 +08:00
package-lock.json fix: styleText requires string 2025-09-08 14:18:46 -03:00
package.json fix: styleText requires string 2025-09-08 14:18:46 -03:00
README.md add WIP warning to README 2024-07-18 00:39:18 +08:00

check-invalid-datetimes

Check HTML and XML files for strings containing "Invalid DateTime" from failed/malformed DateTime formatting.

Adapted from the check-html-links package.

Warning

This package is still a work in progress.

Installation

npm i -D @chrisburnell/check-invalid-datetimes

Usage

npx @chrisburnell/check-invalid-datetimes _site

See more at https://chrisburnell.com/check-invalid-datetimes/.