04-08-2012, 05:45 PM | #1 |
Zennist
Posts: 1,022
Karma: 47809468
Join Date: Jul 2010
Device: iPod Touch, Sony PRS-350, Nook HD+ & HD
|
Date for added books defaults to 01 Jan 0101?
When I add a book using the menu button, the date automatically goes to 01 Jan 0101. It first started happening yesterday while I was using 0.8.45. So I updated to the latest version (0.8.46) and it is still like that. I am pretty sure that it was working normally -- defaulting to the current date -- just a few days ago while I was on 0.8.45. I don't know what happened to change the behavior. I looked in preferences but can find no setting for the date. I am perplexed.
|
04-08-2012, 07:07 PM | #2 | |
Well trained by Cats
Posts: 29,768
Karma: 54401244
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Is your computer clock/calander correct (a weak battery will have lost the date and other settings on power up. 5 years is about time to replace the button battery) |
|
Advert | |
|
04-08-2012, 08:16 PM | #3 |
Zennist
Posts: 1,022
Karma: 47809468
Join Date: Jul 2010
Device: iPod Touch, Sony PRS-350, Nook HD+ & HD
|
Hi ducks, yes the time/date on my laptop is correct. It is the first thing I checked. And it's only 2 years old so I doubt it's the battery. Besides, it's been plugged in continuously for the last few days. I mostly use it with AC power.
|
04-08-2012, 09:51 PM | #4 |
Well trained by Cats
Posts: 29,768
Karma: 54401244
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Gremlins?
|
04-08-2012, 11:24 PM | #5 |
creator of calibre
Posts: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Run calibre in debug mode, you might get some useful output.
|
Advert | |
|
04-09-2012, 12:28 PM | #6 |
Zennist
Posts: 1,022
Karma: 47809468
Join Date: Jul 2010
Device: iPod Touch, Sony PRS-350, Nook HD+ & HD
|
I solved the issue.
First I ran a debug but there was nothing in the log that suggested an issue. It merely said the book was added in 1.4xxxxxxxx seconds! Hmmm, so I thought maybe there was something in the source book files themselves. These were a group of books a friend of mine had given to me. So I added from another totally separate group of books as a test and, sure enough, the date was correct, so obviously the source files were the issue. Upon further testing, it appears the issue is in the OPF file that came with each of those books. It had this line in it: <meta content="0101-01-01T10:00:00+00:00" name="calibre:timestamp"/> So, no problem. I will just pay closer attention to source files in the future when I add books and manually change the "date added" to the current date if necessary. Thanks to ducks and Kovid for your help. Last edited by PatNY; 04-09-2012 at 12:32 PM. |
04-09-2012, 03:07 PM | #7 |
Well trained by Cats
Posts: 29,768
Karma: 54401244
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
You could delete that line before adding, I believe Calibre will correct the missing item
|
04-09-2012, 04:07 PM | #8 |
Zennist
Posts: 1,022
Karma: 47809468
Join Date: Jul 2010
Device: iPod Touch, Sony PRS-350, Nook HD+ & HD
|
ducks, it will take me longer to edit the OPF file than to simply change the date once a book is imported. Takes less than 30 seconds to change the date. I just have to be careful to check the date in the future for added books as it's something I normally don't look at. I had assumed the current date would always be used.
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
"Date Added" custom column? | cheechwhiz | Library Management | 1 | 08-20-2011 10:25 AM |
Custom column for date added | Gunnerp245 | Calibre | 2 | 07-08-2011 04:39 PM |
Date Added changing | lgladen | Calibre | 5 | 04-14-2011 09:25 AM |
Date Added vs. Date Modified | aglaia761 | Calibre | 5 | 11-28-2010 05:34 AM |
Search on Added Date | nynaevelan | Calibre | 6 | 11-10-2010 09:15 PM |