Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-14-2016, 07:21 AM   #1
DrChiper
Bookish
DrChiper has become one with the cosmosDrChiper has become one with the cosmosDrChiper has become one with the cosmosDrChiper has become one with the cosmosDrChiper has become one with the cosmosDrChiper has become one with the cosmosDrChiper has become one with the cosmosDrChiper has become one with the cosmosDrChiper has become one with the cosmosDrChiper has become one with the cosmosDrChiper has become one with the cosmos
 
DrChiper's Avatar
 
Posts: 552
Karma: 21054
Join Date: Jun 2011
Device: pc, 600, t1, t2, t3, nexus 7, kobo aura 2, lg 5X
Lightbulb Calibre 2.70 - {pubdate} is 1 year off

When I export books to disk, I use a template with contains {pubdate} to make up the file name. This worked until today.
Today, after installing version 2.70, I found that the resulting date (year) is 1 year off. So a pub date of 1991 in the database becomes according {pubdate} 1990, 2015 becomes 2014, etc.

Update: strangely, it does not happen always.

Last edited by DrChiper; 10-14-2016 at 08:45 AM.
DrChiper is offline   Reply With Quote
Old 10-14-2016, 08:17 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 34,886
Karma: 12571798
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There weren't any changes to templates in 2.70. Most likely, this has always been the case. If you have a date like 1-1-1991:0:00UTC the database, when you use it in a template it is converted to the local timezone, which may be either 2-1-1991 or 31-12-1990 depending on your timezone.
kovidgoyal is offline   Reply With Quote
Advert
Old 10-14-2016, 08:39 AM   #3
DrChiper
Bookish
DrChiper has become one with the cosmosDrChiper has become one with the cosmosDrChiper has become one with the cosmosDrChiper has become one with the cosmosDrChiper has become one with the cosmosDrChiper has become one with the cosmosDrChiper has become one with the cosmosDrChiper has become one with the cosmosDrChiper has become one with the cosmosDrChiper has become one with the cosmosDrChiper has become one with the cosmos
 
DrChiper's Avatar
 
Posts: 552
Karma: 21054
Join Date: Jun 2011
Device: pc, 600, t1, t2, t3, nexus 7, kobo aura 2, lg 5X
Yes, that makes sense.

I checked and all those ill behaving ones had the date 01-01-XXXX. Most of the times I do know the publishing year, but do not know the publishing month, so I enter Jan 1st as the date. When I make that Jan 2nd, every time the correct year is now used.

I agree, this behavior is apparently not new but must have lingered a long time and I did not noticed it

Thanks!
DrChiper is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
calibre - save to disk sort pubdate descending dnm43 Library Management 1 02-13-2016 01:35 PM
How to format pubdate so I only get year in the catalog output please? millan Library Management 19 10-31-2014 08:07 AM
Pubdate in catalogs BetterRed Calibre 0 09-03-2013 01:54 AM
Extract Pubdate Martin Hollander Calibre 10 01-10-2013 08:30 AM
Calibre is setting the pubdate to january every time chadamir Calibre 2 05-21-2011 10:46 PM


All times are GMT -4. The time now is 06:10 PM.


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