mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-12 09:28:31 +02:00
Initial support for Day One tag syncing
This commit is contained in:
parent
02ce7dfbd3
commit
950af5f2e2
1 changed files with 2 additions and 1 deletions
|
@ -341,6 +341,7 @@ class DayOne(Journal):
|
||||||
'Starred': entry.starred if hasattr(entry, 'starred') else False,
|
'Starred': entry.starred if hasattr(entry, 'starred') else False,
|
||||||
'Entry Text': entry.title+"\n"+entry.body,
|
'Entry Text': entry.title+"\n"+entry.body,
|
||||||
'Time Zone': get_local_timezone(),
|
'Time Zone': get_local_timezone(),
|
||||||
'UUID': new_uuid
|
'UUID': new_uuid,
|
||||||
|
'Tags': [tag for tag in entry.tags] if entry.parse_tags() and hasattr(entry, 'tags') else False
|
||||||
}
|
}
|
||||||
plistlib.writePlist(entry_plist, filename)
|
plistlib.writePlist(entry_plist, filename)
|
||||||
|
|
Loading…
Add table
Reference in a new issue