Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 04-01-2021, 07:13 AM   #1
drawson1
Connoisseur
drawson1 began at the beginning.
 
Posts: 96
Karma: 10
Join Date: Mar 2014
Device: Libra H20, Clara 2E
End-of-month errors when setting pubdate?

I generate a couple of different catalog files for my library (including one with "calibredb catalog" ...); when I import those files I set the Publication date. When I ran that script today, it set the pubdate to 02-Apr instead of 01-Apr. A little experimenting shows that the first and last day of the month always seem to be set wrong:

Code:
01-Apr-21 07:04 > calibredb set_metadata 4380  -f pubdate:2021-01-30
Title               : Dan's Catalog
......
Timestamp           : 2021-03-02T00:00:00+00:00
Published           : 2021-01-30T00:00:00+00:00

01-Apr-21 07:04 > calibredb set_metadata 4380  -f pubdate:2021-01-31
Title               : Dan's Catalog
......
Timestamp           : 2021-03-02T00:00:00+00:00
Published           : 2021-01-30T00:00:00+00:00

01-Apr-21 07:04 > calibredb set_metadata 4380  -f pubdate:2021-02-01
Title               : Dan's Catalog
......
Timestamp           : 2021-03-02T00:00:00+00:00
Published           : 2021-02-02T00:00:00+00:00
I tested 28-Feb/01-Mar and 31-Mar/01-Apr. I also tried the syntax "pubdate:"01 Feb 2021", with the same result.

Note that the timestamp field behaves the same way when I use set_metadata, but I see from another thread here that I shouldn't be setting that manually :-)

Thanks!

Dan
drawson1 is offline   Reply With Quote
Old 04-01-2021, 07:30 AM   #2
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,194
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
You can read more on this here and here.
capink is offline   Reply With Quote
Advert
Old 04-01-2021, 07:49 AM   #3
drawson1
Connoisseur
drawson1 began at the beginning.
 
Posts: 96
Karma: 10
Join Date: Mar 2014
Device: Libra H20, Clara 2E
Thanks . . . . .
drawson1 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting PubDate Default madeleinelevy Library Management 2 02-10-2019 01:37 PM
Extract Pubdate Martin Hollander Calibre 10 01-10-2013 08:30 AM
At my wits end - Smashwords Autovetter Errors (HELP!) Steven Lake Writers' Corner 15 06-18-2012 07:20 PM
Calibre is setting the pubdate to january every time chadamir Calibre 2 05-21-2011 10:46 PM
Amazon Kindle coming to Walmart by the end of the month [April Fools] Nate the great News 58 04-01-2009 10:05 PM


All times are GMT -4. The time now is 02:21 PM.


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