Add support for DayOne2

This commit is contained in:
dbxnr 2020-01-10 15:05:10 +00:00
parent 9d9f61ac1e
commit c16afe1605
10 changed files with 208 additions and 29 deletions

15
features/dayone2.feature Normal file
View file

@ -0,0 +1,15 @@
Feature: Day One 2.0 implementation details.
Scenario: Loading a Day One 2.0 journal
Given we use the config "dayone2.yaml"
When we run "jrnl -n 2"
Then we should get no error
and the output should be
"""
2020-01-10 12:21 Entry Number Two.
| And a bit of text over here.
2020-01-10 12:22 Entry Number One.
"""