View Single Post
Old 09-17-2023, 06:18 AM   #217
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,220
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by ownedbycats View Post
1.16 minor timezone issue with two books. They were read at 9:27 pm and 11:05 pm Atlantic Time. The main date shows the 16th, but the record shows the 17th.

Attachment 203801

json seems to be using GMT for both:
Spoiler:

Code:
    "7706": {
      "authors": [
        "Sue Barrow"
      ],
      "challenges": [
        "Annual"
      ],
      "date": {
        "__class__": "datetime.datetime",
        "__value__": "2023-09-17T02:05:25+00:00"
      },
      "genre": "Slavery & Human Trafficking, Suspense & Thriller, Young Adult Fiction",
      "last_year_pages": 0,
      "page_count": 390,
      "read_pages": 390,
      "records": {
        "0": {
          "date": null,
          "read_pages": 0,
          "status": 0
        },
        "1": {
          "date": {
            "__class__": "datetime.datetime",
            "__value__": "2023-09-17T02:05:25+00:00"
          },
          "read_pages": 390,
          "status": 100
        }
      },
      "reread_count": 0,
      "shelf": "Read",
      "status": 100,
      "title": "Sold",
      "title_sort": "Sold"
    },
Code:
    },
    "7894": {
      "authors": [
        "Peter J. Aldin"
      ],
      "challenges": [
        "Annual"
      ],
      "date": {
        "__class__": "datetime.datetime",
        "__value__": "2023-09-17T00:27:24+00:00"
      },
      "genre": "Science Fiction",
      "last_year_pages": 0,
      "page_count": 100,
      "read_pages": 100,
      "records": {
        "0": {
          "date": null,
          "read_pages": 0,
          "status": 0
        },
        "1": {
          "date": {
            "__class__": "datetime.datetime",
            "__value__": "2023-09-17T00:27:24+00:00"
          },
          "read_pages": 100,
          "status": 100
        }
      },
      "reread_count": 0,
      "shelf": "Read",
      "status": 100,
      "title": "Shore Leave",
      "title_sort": "Shore Leave"
    },


These were updated from my device using Kobo Utilities.
Thanks for reporting. When I fixed the timezone issue, I missed this one. It's fixed now. I'll release a new version in a few moments.

EDIT:
Dates are always saved to JSON as GMT, but they are saved in the correct month and year according to your local time. Also, the GUI always show dates in your local time.

Last edited by thiago.eec; 09-17-2023 at 06:36 AM.
thiago.eec is offline   Reply With Quote