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 10-30-2023, 01:39 PM   #1
AstroCalibre
Enthusiast
AstroCalibre began at the beginning.
 
Posts: 27
Karma: 10
Join Date: Nov 2019
Device: Android smartphone
Problem with date (bug?)

Hi,
I have a little problem with date, and maybe I think there is a bug in the program.
I have defined a custom field #dataori with the format "d MMM yyyy". If I enter a day on which daylight saving time is not in effect (e.g. 15 nov 2018), the date displayed is correct. But if I enter a day on which daylight saving time is in effect (e.g. 15 aug 2018), the date displayed is 14 aug 2018 (the day moves back by one unit!).
Do you also experience the same thing?
Thanks for your attention,
Regards
AstroCalibre is offline   Reply With Quote
Old 10-30-2023, 09:02 PM   #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: 45,311
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There are no dates in calibre,there are only timestamps, so while you can display/enter them as dates, under the hood they are stored as timestamps, when you enter as a date without a time, the time is chosen automaticaly and it might fall into a prev/next day depending on your local timezone.
kovidgoyal is offline   Reply With Quote
Advert
Old 10-31-2023, 10:03 AM   #3
AstroCalibre
Enthusiast
AstroCalibre began at the beginning.
 
Posts: 27
Karma: 10
Join Date: Nov 2019
Device: Android smartphone
Ok, kovidgoyal, I understand.
Not a big deal to me. I need that field to keep the publication date of the first edition of a book. Sometimes this date is known exactly (ex. 5 September 1999) and it is bad to then see 4 September 1999. However, I have noticed that if I re-edit the field by inserting the date again, it works.
Thanks a lot for the clarification
Luigi
AstroCalibre is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Date sort order bug? sony_fox Kobo Reader 5 08-18-2023 11:39 AM
Date related bug in IOS 11.1.2 svenlind Apple Devices 5 12-05-2017 10:41 AM
Adding own columns - changes Modified Date - BUG ? icq70610 Library Management 3 01-09-2017 02:23 PM
Import Date: Bug or Feature? DobraGolonka Calibre 19 08-24-2010 11:47 AM
Bug with the date in subscription titles copernicc Calibre 4 03-05-2009 01:22 PM


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


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