Quote:
Originally Posted by kovidgoyal
I have no idea what you are doing.
|
I'm sorry, I'll try to give some more context. I created an EPUB with Sigil. In the metadata editor of Sigil I saw 3 dates: Date:Creation, Date:Modification and Date:Publication. In the book list of calibre I also see 3 dates: Date, Published and Modified. I assumed that these dates meant the same in both applications (I now know they don't). What I tried to do was to get calibre "read" the dates of the EPUB, so that I didn't have to modify them afterwards in calibre.
Quote:
Originally Posted by kovidgoyal
1) <dc:date> is used for the published date
|
Yes. But if I have a book that was published say in 2010 and I add it in calibre, why does the Published column show today's date?
I figured I did something wrong with the metadata in the EPUB so basically, that was my initial question: which tag do I have to use in the contents.opf of the EPUB so that calibre can recognise it?
Quote:
Originally Posted by kovidgoyal
2) You cannot control the date field via the OPF since the date field always shows the date the book was added to calibre regardless of the value of calibre:timestamp
|
Ok, I didn't know that. I (wrongfully) thought that the date field was the created date (i.e. the date that the EPUB was first created, analogous to the created date of a file on a filesystem).
Quote:
Originally Posted by kovidgoyal
It is nonsense to not put a time into a timestamp field. When you put in only a date what you are actually doing is saying the date is what you say it is +- 1 day depending on which timezone the person interpreting the date is in.
|
Right, BUT: in the metadata editor of calibre, you cannot enter a time in the date or published field. You therefore should assume that the time is 00:00:00+00:00 and not compensate for timezone differences when saving.
Assume a book was published on christmas and I would enter 2013-12-25 (remember I'm in time zone +2). I then take my library (which is on a thumb drive) and I open it on a computer in London (UTC) then all of a sudden the book *appears* to be published the day before christmas.
What I want to say is that IMHO a publication date is a fixed date, regardless in which timezone you look at it.
I don't want to be pedantic, but Dublin Core says that dc:date follows the YYYY-MM-DD format (see point 4.12. of
http://dublincore.org/documents/usag...elements.shtml). The time part is not present.
Quote:
Originally Posted by kovidgoyal
Not to mentiont hat plenty of publications can have intra day publication dates.
|
I'm not sure I understand. Do you mean that the same publication is published multiple times the same day?
-=Wim=-