10-06-2011, 06:19 AM | #1 |
Zealot
Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
|
date field
greetings,
is there some hidden field that stores the date a book was entered into the database? I would like to bring that out to the front end. |
10-06-2011, 06:24 AM | #2 |
Zealot
Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
|
nevermind. I've seen the timestamp field in the database. :-)
|
Advert | |
|
10-06-2011, 06:52 AM | #3 |
Zealot
Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
|
Can someone give me a hint how to add the timestamp field as a custom column?
I can't seem to find the right function to use for the template. |
10-06-2011, 06:57 AM | #4 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
|
10-06-2011, 07:12 AM | #5 |
Zealot
Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
|
|
Advert | |
|
10-06-2011, 11:09 AM | #6 | |
Grand Sorcerer
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
If you want to format it, then use {timestamp:'format_date($, 'yyyy')'} where 'yyyy' is replaced with the format you wish. If you want the full ISO timestamp including the time, use {:'raw_field('timestamp')'} Last edited by chaley; 10-06-2011 at 11:27 AM. Reason: corrected the raw_field template |
|
10-06-2011, 11:24 AM | #7 |
Zealot
Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
|
|
10-09-2011, 03:00 AM | #8 | |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
Quote:
I did this via Add books they have may/June dates in my calibre library, even though I added them yesterday ??? |
|
10-09-2011, 03:32 AM | #9 | |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
If this date bothers you then you have a few of options: 1. Stop adding "found" books to your library. 2. Delete the metadata.opf files prior to adding the books. The metadata.opf file is for calibre use only and is used to restore books to the library after being saved to disk or used to restore a corrupt metadata.db in the calibre library. 3. If you know that the date is not going to reflect your library you can do a bulk metadata edit after adding the books and change the date to reflect the date you added them to your library. 4. Add the books one at a time via drag and drop from the file manager to the calibre library. Bottom line is the date column is the date when the books were added to a calibre library, if you add books from someone else' library, with the data from that library, of course the date is going to reflect when they were added to that other person's library. Last edited by DoctorOhh; 10-09-2011 at 03:37 AM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Published Date does not appear as a destination field | utterlygreat | Calibre | 2 | 02-05-2011 12:07 PM |
Can't clear "custom" date field? | joegearhart | Calibre | 5 | 12-20-2010 03:32 AM |
Bulk Changing Published Date To Date | hmf | Calibre | 4 | 10-19-2010 10:19 PM |
Up-to-date candy teacher (date being 1921) | kacir | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 06-16-2010 04:18 PM |
new official shipping date / US invitation date | R2D2 | iRex | 18 | 07-06-2006 02:32 PM |