Files
pandoc/test/command/epub-invalid-date.md
T
Alain LesageandAlain Lesage 60725b8673 EPUB writer: skip dates that cannot be normalized. (#12002)
Such dates produced an empty dc:date, which epubcheck rejects.
They are now dropped; if no date remains, the current time is used,
as when no date is given.

Co-authored-by: Alain Lesage <15161099+Alain-L@users.noreply.github.com>
2026-10-27 20:20:02 -07:00

212 B

Dates that cannot be normalized are skipped, so that dc:date is not empty.

% pandoc -t epub3 -o - | pandoc -f epub -t plain -s
---
title: T
date: [10 septembre 2026, 2026-09-10]
---
^D
T
2026-09-10

T