View Single Post
Old 09-21-2011, 04:40 PM   #7
trumphodge
Junior Member
trumphodge began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Sep 2011
Device: kindle
I am new to Calibre and found this post related to my question-how to remove Month in the "published" dates. Like the original poster, I only care about the year of original publication and find the inclusion of Month both distracting in the display, and more difficult to enter (since it is typically not given for older books--and Calibre also wants a Day selected).

I tried to decipher the instructions above but have not been successful in making the change.

What I see in top box:

Format to be used for publication date and the timestamp (date).
A string controlling how the publication date is displayed in the GUI
d the day as number without a leading zero (1 to 31)
dd the day as number with a leading zero (01 to 31)
ddd the abbreviated localized day name (e.g. 'Mon' to 'Sun').
dddd the long localized day name (e.g. 'Monday' to 'Qt::Sunday').
M the month as number without a leading zero (1-12)
MM the month as number with a leading zero (01-12)
MMM the abbreviated localized month name (e.g. 'Jan' to 'Dec').
MMMM the long localized month name (e.g. 'January' to 'December').
yy the year as two digit number (00-99)
yyyy the year as four digit number
For example, given the date of 9 Jan 2010, the following formats show
MMM yyyy ==> Jan 2010 yyyy ==> 2010 dd MMM yyyy ==> 09 Jan 2010
MM/yyyy ==> 01/2010 d/M/yy ==> 9/1/10 yy ==> 10
publication default if not set: MMM yyyy
timestamp default if not set: dd MMM yyyy

What I see in the lower box:
# Control how dates are displayed

gui_last_modified_display_format = 'dd MMM yyyy'

gui_pubdate_display_format = 'MMM yyyy'

gui_timestamp_display_format = 'dd MMM yyyy'

I have tried to delete the MMM in the pubdate string above but get an error message.

I would appreciate any further detail on procedure.
trumphodge is offline   Reply With Quote