Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make export JSON compatible with DayOne2 #798

Closed
dbxnr opened this issue Jan 13, 2020 · 4 comments
Closed

Make export JSON compatible with DayOne2 #798

dbxnr opened this issue Jan 13, 2020 · 4 comments
Labels
enhancement New feature or request 🔒 Outdated

Comments

@dbxnr
Copy link
Contributor

dbxnr commented Jan 13, 2020

Make export JSON compatible with DayOne2

At the moment, journals exported as JSON are incompatible with DayOne2, if the export schema was changed to match DayOne2, jrnl files could be imported into it.

Journals exported as JSON is currently a one-way system, so changing the schema shouldn't make any breaking changes for users, and with the changes in #794 would enable JSON import/export and interoperability with DayOne2

DayOne2

{
  "entries": [
    {
      "audios": [],
      "creationDate": "2020-01-10T12:22:12Z",
      "photos": [],
      "starred": false,
      "tags": [],
      "text": "",
      "timeZone": "Europe/London",
      "uuid": "EBB5A5F4057F461E8F176E18AB7E0493"
    }
  ],
  "metadata": {
    "version": "1.2"
  }
}

jrnl


{
  "tags": {},
  "entries": [
    {
      "title": "",
      "body": "",
      "date": "2020-01-09",
      "time": "22:02",
      "starred": false
    }
  ]
}
@dbxnr dbxnr added 🆕 New! enhancement New feature or request labels Jan 13, 2020
@dbxnr
Copy link
Contributor Author

dbxnr commented Jan 21, 2020

Closing as multiple JSON formats should be supported

@lock
Copy link

lock bot commented May 20, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot added the 🔒 Outdated label May 20, 2020
@lock
Copy link

lock bot commented May 20, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

1 similar comment
@lock
Copy link

lock bot commented May 20, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators May 20, 2020
@wren wren removed the 🆕 New! label Dec 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request 🔒 Outdated
Projects
None yet
Development

No branches or pull requests

2 participants