Entry date +/- a day?

ConversazioniBug Collectors

Iscriviti a LibraryThing per pubblicare un messaggio.

Entry date +/- a day?

1bnielsen
Set 21, 2021, 1:18 pm

I have a few books where the Entry Date is not the same in the Edit Book form as in my Export file. I wonder why?

Example:
Book Id: 72740407 has Entry date 2011-04-27 according to the System part of the Edit Book form.
But in the export file it has 2011-04-28. I'm puzzled.

If I look at the review date, it says: Apr 27, 2011, så I think the export file has it wrong.

2AnnieMod
Set 21, 2021, 1:24 pm

Is that the good old timezones issue cropping back up?

3kristilabrie
Set 21, 2021, 2:43 pm

Yes, I think so. There's another bug report for that, if we can bump that one and close this one as a duplicate. (Looking now.)

5bnielsen
Modificato: Set 21, 2021, 3:54 pm

>4 kristilabrie: Yes, thanks for linking the two. I vaguely remembered that there was a similar bug but couldn't locate it. This makes me wonder if the dates in the export file depends on the time of day the export is started? That would be a weird bug.

6kristilabrie
Set 22, 2021, 8:42 am

>5 bnielsen: I don't know if it's that, or perhaps the dates getting exported are going by UTC instead of the member's timezone, or what. I'll ping developers about it again this week.

7bnielsen
Set 22, 2021, 11:32 am

>6 kristilabrie: Thanks. I'm really puzzled about the behaviour, so if possible I'd like to know what causes it. Obviously the underlying data is not simply a date. Assuming that's it is a time stamp, that is then converted in two different ways by the Edit Book display and the Export Book process.