From c283a328e023895ea60bbb574db7572cdb698972 Mon Sep 17 00:00:00 2001 From: Manuel Ebert Date: Sun, 22 Dec 2013 14:52:13 +0100 Subject: [PATCH] Tests for #117 --- features/regression.feature | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/features/regression.feature b/features/regression.feature index da0ef277..af2c01f8 100644 --- a/features/regression.feature +++ b/features/regression.feature @@ -13,3 +13,10 @@ Feature: Zapped bugs should stay dead. When we run "jrnl Herro" Then we should get an error Then we should see the message "is a directory, but doesn't seem to be a DayOne journal either" + + Scenario: Date with time should be parsed correctly + # https://github.com/maebert/jrnl/issues/117 + Given we use the config "basic.json" + When we run "jrnl 2013-11-30 15:42: Project Started." + Then we should see the message "Entry added" + and the journal should contain "2013-11-30 15:42 Project Started."