Comment 5 for bug 1254226

Brett Rosen (bdrosen) wrote :

Also, in the same function (set_bookshelf), it seems like the following is wrong:

add_values = (shelfName, book.contentID, time.strftime(self.TIMESTAMP_STRING, time.gmtime()), )

Instead of time.gmtime(), the date from the book should be used as that reflects the date used in calibre metadata vs the date the synch to kobo happened, which can be very different, (This is likely the best that can be done as calibre does not track the date that the shelf/collection equivalent changes were made)