[Bug]: OPF scanner, undefined date in Calibre. <dc:date>0101-01-01T00:00:00+00:00</dc:date> #309

Closed
opened 2026-04-24 23:04:18 +02:00 by adam · 4 comments
Owner

Originally created by @superpawko on GitHub (Apr 27, 2022).

Describe the issue

Maybe it is not a bug, but date: dc:date0101-01-01T00:00:00+00:00</dc:date> Is seen by Calibre as Undefined. Could You please make special check for this dc:date0101-01-01T00:00:00+00:00</dc:date> so it will be ignored.

Steps to reproduce the issue

  1. Opf file has to be from calibre wher Publish Date was not defined.
  2. Re-scan books with metadata from OPF

Audiobookshelf version

2.0.3

How are you running audiobookshelf?

Docker

Originally created by @superpawko on GitHub (Apr 27, 2022). ### Describe the issue Maybe it is not a bug, but date: <dc:date>0101-01-01T00:00:00+00:00</dc:date> Is seen by Calibre as Undefined. Could You please make special check for this <dc:date>0101-01-01T00:00:00+00:00</dc:date> so it will be ignored. ### Steps to reproduce the issue 1. Opf file has to be from calibre wher Publish Date was not defined. 2. Re-scan books with metadata from OPF ### Audiobookshelf version 2.0.3 ### How are you running audiobookshelf? Docker
adam added the bug label 2026-04-24 23:04:18 +02:00
adam closed this issue 2026-04-24 23:04:19 +02:00
Author
Owner

@advplyr commented on GitHub (Jun 19, 2022):

Does this issue still persist? I think since you made this request I updated the OPF scanner for handling prefixes like "dc".

@advplyr commented on GitHub (Jun 19, 2022): Does this issue still persist? I think since you made this request I updated the OPF scanner for handling prefixes like "dc".
Author
Owner

@superpawko commented on GitHub (Jun 19, 2022):

I did only re-scan. And it is showing again 0101.

Problem is : Publish date from dc:date0101-01-01T00:00:00+00:00 in ABS is 0101. This is correct via parser. But I'm asking to add special case for this date: 0101-01-01T00:00:00+00:00 to be set as UNKNOWN.

Thank you for your consideration.

@superpawko commented on GitHub (Jun 19, 2022): I did only re-scan. And it is showing again 0101. Problem is : Publish date from dc:date**0101-01-01T00:00:00+00:00** in ABS is **0101**. This is correct via parser. But I'm asking to add special case for this date: 0101-01-01T00:00:00+00:00 to be set as **UNKNOWN**. Thank you for your consideration.
Author
Owner

@advplyr commented on GitHub (Jun 19, 2022):

Right now the publish date is not validated in anyway, it is just a string. I don't see this on the roadmap now but maybe in the future.

@advplyr commented on GitHub (Jun 19, 2022): Right now the publish date is not validated in anyway, it is just a string. I don't see this on the roadmap now but maybe in the future.
Author
Owner

@superpawko commented on GitHub (Jun 19, 2022):

I understand, thank you.

@superpawko commented on GitHub (Jun 19, 2022): I understand, thank you.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#309