mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
[YAML Exporter] fix starred spelling (#907)
* fix starred spelling c.f. #835
This commit is contained in:
parent
7016c6925b
commit
65045cc332
2 changed files with 3 additions and 3 deletions
|
@ -129,7 +129,7 @@ Feature: Exporting a Journal
|
||||||
"""
|
"""
|
||||||
title: I have an @idea:
|
title: I have an @idea:
|
||||||
date: 2013-04-09 15:39
|
date: 2013-04-09 15:39
|
||||||
stared: False
|
starred: False
|
||||||
tags: idea, journal
|
tags: idea, journal
|
||||||
|
|
||||||
(1) write a command line @journal software
|
(1) write a command line @journal software
|
||||||
|
|
|
@ -104,10 +104,10 @@ class YAMLExporter(TextExporter):
|
||||||
# source directory is entry.journal.config['journal']
|
# source directory is entry.journal.config['journal']
|
||||||
# output directory is...?
|
# output directory is...?
|
||||||
|
|
||||||
return "title: {title}\ndate: {date}\nstared: {stared}\ntags: {tags}\n{dayone} {body} {space}".format(
|
return "title: {title}\ndate: {date}\nstarred: {starred}\ntags: {tags}\n{dayone} {body} {space}".format(
|
||||||
date=date_str,
|
date=date_str,
|
||||||
title=entry.title,
|
title=entry.title,
|
||||||
stared=entry.starred,
|
starred=entry.starred,
|
||||||
tags=", ".join([tag[1:] for tag in entry.tags]),
|
tags=", ".join([tag[1:] for tag in entry.tags]),
|
||||||
dayone=dayone_attributes,
|
dayone=dayone_attributes,
|
||||||
body=newbody,
|
body=newbody,
|
||||||
|
|
Loading…
Add table
Reference in a new issue