![]() |
#1 |
Age improves with wine.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 571
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
Setting publication date to year only?
If I don't know/don't care what month in a year a book was published, I'd like to be able to set the date to just a year. It doesn't seem to be possible to do this; changing it in the "Edit Metadata" dialog seems to be the only way to change it, and this in turn affects the <dc:date> in the metadata.opf file and the OPF file inside the book itself, but not vice versa. And the "Edit Metadata" dialog only allows either month & year, or "undefined". (What's more, the value of <dc:date> is always set to a full timestamp accurate to the nearest minute, even though the spec allows YYYY or YYY-MM as acceptable formats.)
Has anyone got any idea what I should do? |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,156
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Since you dont care about the month, simply set it to June.
|
![]() |
![]() |
![]() |
#3 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,607
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
There is a tweak to specify the format in which the pubdate, modified, and timestamp columns are displayed, something like Control date display format - I assume for pubdate a format of 'yyyy' would only capture and display the year entered.
|
![]() |
![]() |
![]() |
#4 |
Age improves with wine.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 571
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
|
![]() |
![]() |
![]() |
#5 |
Age improves with wine.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 571
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
Hah, thanks, that does the trick! Internally, the month/day/hour/minute/second and femtosecond of publication stay the same when the year is changed, but at least I don't have to see any of this spurious detail any more.
|
![]() |
![]() |
![]() |
Tags |
pubdate |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to only store year for publication date. | kaufman | Library Management | 4 | 04-07-2014 09:59 PM |
Publication Date or Copyright Date or ??? | hd_cal_dave | Library Management | 8 | 05-25-2012 01:50 PM |
Modifying date of publication: can I display the year only? | BMaloney | Library Management | 3 | 02-23-2011 04:09 AM |
Date of Publication Metadata | crutledge | Sigil | 5 | 01-10-2011 01:27 PM |
Is there any way to control publication date? | weasal | Recipes | 4 | 09-27-2010 12:37 PM |