Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 12-09-2021, 02:42 PM   #1
LAPIII
Member
LAPIII began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Mar 2012
Device: PC
Can the just the year used for the date?

I have books where it is not filled in for me what in both the month and year is nor do I have a way of knowing. I do know where the copyright date is, and it is always a year.

What I need to edit a file? With what code?

Last edited by LAPIII; 12-09-2021 at 02:52 PM.
LAPIII is offline   Reply With Quote
Old 12-09-2021, 03:04 PM   #2
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,611
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
If you have only the year, then add the date as 1 January of that year.

Likewise if you have only the month and year, add it as the 1st of that month.

I believe that is common practice when the full date is not available.
Karellen is offline   Reply With Quote
Advert
Old 12-09-2021, 03:11 PM   #3
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Add a column something like this

Click image for larger version

Name:	Screenshot 2021-12-10 070257.jpg
Views:	72
Size:	303.0 KB
ID:	190720

BR
BetterRed is online now   Reply With Quote
Old 12-09-2021, 03:26 PM   #4
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Preferences / Tweaks / Control how dates are displayed (ID: gui_pubdate_display_format)

And perhaps Tweaks / Choose whether dates are sorted using visible fields (ID: sort_dates_using_visible_fields), but probably not needed as the visible field contains the year.
chaley is offline   Reply With Quote
Old 12-09-2021, 03:33 PM   #5
LAPIII
Member
LAPIII began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Mar 2012
Device: PC
I tweaked:
Code:
gui_pubdate_display_format = 'MMM yyyy'
LAPIII is offline   Reply With Quote
Advert
Old 12-09-2021, 03:37 PM   #6
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by LAPIII View Post
I have books where it is not filled in for me what in both the month and year is nor do I have a way of knowing. I do know where the copyright date is, and it is always a year.

What I need to edit a file? With what code?
Quote:
Originally Posted by LAPIII View Post
I tweaked:
Code:
gui_pubdate_display_format = 'MMM yyyy'
You said you wanted only the year. Why did you include the month?
chaley is offline   Reply With Quote
Old 12-09-2021, 03:55 PM   #7
LAPIII
Member
LAPIII began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Mar 2012
Device: PC
I deleted the month, thank you

Merry Christmas!
LAPIII is offline   Reply With Quote
Old 12-09-2021, 09:56 PM   #8
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Copyright date and Publication date are not the same thing, copyright can be registered years before a work is published.
BetterRed is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting publication date to year only? Phssthpok Library Management 4 05-13-2017 08:50 AM
Adding Books RegExp date/year) anonymust Library Management 5 11-08-2015 05:07 PM
How to only store year for publication date. kaufman Library Management 4 04-07-2014 09:59 PM
Change (or show) date published to year only? Lori Reeser Library Management 3 02-10-2013 06:18 PM
Modifying date of publication: can I display the year only? BMaloney Library Management 3 02-23-2011 04:09 AM


All times are GMT -4. The time now is 01:36 AM.


MobileRead.com is a privately owned, operated and funded community.