Date in JSON export

  • Unknown's avatar

    I’m a long-time, and very happy, user of Day One. One of the things that appeals to me is the JSON export, allowing me to get at my journal data. I was working with the JSON data, and am puzzled by the date information. The JSON record has two dates: creationDate and modifiedDate. But for one entry I’m looking at, neither date corresponds to the date on the entry.

    This is an entry where I modified the date after I created the entry, which I often do when I write an entry after the event I’m recording.

    What’s happening here – is there any way to get the date on the entry in the JSON export?

  • Unknown's avatar

    Hi @martinfowlercom. We are checking with our engineers on this and will get back to you as soon as we can.

  • Unknown's avatar

    Any update to this topic? I’ve been messing with my journal entries in json format and noticed this too. Will there be a release to support the set date? This field has to exist so I’m unsure why it’s not exposed in the json export.

  • Hello @crtaltspam

    The creation date should match the date as shown in the entry… but yes, time zones are involved. The date is in the following format:

    2023-09-06T19:09:08Z

    That Z at the end means that it’s in the GMT time zone. To get the local time zone, you have to apply the time zone offset of the timeZone recorded in the JSON.

  • Unknown's avatar

    I tried the export again today and was unable to reproduce the problem. So either it’s fixed, or I made a mistake originally.

  • Unknown's avatar

    I tried the export again today and was unable to reproduce the problem. So either it’s fixed, or I made a mistake originally.

    (above post is also me, logged in the wrong account by mistake)

  • Thanks for the update, @martinfowlercom

    I am glad to hear that the issue is now resolved. Feel free to create a new thread if you have any other questions :)

  • The topic ‘Date in JSON export’ is closed to new replies.