Skip to content

Convert dcterms:modified into UTC time#361

Open
Menotim72 wants to merge 1 commit into
aerkalov:masterfrom
Menotim72:fix-modified-date-timezone
Open

Convert dcterms:modified into UTC time#361
Menotim72 wants to merge 1 commit into
aerkalov:masterfrom
Menotim72:fix-modified-date-timezone

Conversation

@Menotim72

Copy link
Copy Markdown

When creating an EPUB, ebooklib automatically sets the mandatory dcterms:modified metadata. This metadata must contain the date when the EPUB file was last modified, in a specific format, in UTC time. (See the EPUB
specification
.) Currently, the value of dcterms:modified set by ebooklib is the time in the current time zone, formatted in the required format. This pull request adds a line that converts this time to UTC before writing it.

@c1924959470

c1924959470 commented Jun 3, 2026 via email

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants