From 879e1adec7ca219d2c7092cd4f8e866c87104711 Mon Sep 17 00:00:00 2001 From: Manuel Ebert Date: Mon, 24 Mar 2014 08:44:28 -0700 Subject: [PATCH 1/2] Small fix for unicode in DayOne, fixes #119 --- jrnl/Journal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jrnl/Journal.py b/jrnl/Journal.py index b450a25e..56802929 100644 --- a/jrnl/Journal.py +++ b/jrnl/Journal.py @@ -372,7 +372,7 @@ class DayOne(Journal): def editable_str(self): """Turns the journal into a string of entries that can be edited manually and later be parsed with eslf.parse_editable_str.""" - return u"\n".join(["# {0}\n{1}".format(e.uuid, e.__unicode__()) for e in self.entries]) + return u"\n".join([u"# {0}\n{1}".format(e.uuid, e.__unicode__()) for e in self.entries]) def parse_editable_str(self, edited): """Parses the output of self.editable_str and updates it's entries.""" From 6783df07d39a8ab307b4d42203c8d56bf75cdb6d Mon Sep 17 00:00:00 2001 From: Manuel Ebert Date: Mon, 24 Mar 2014 08:45:03 -0700 Subject: [PATCH 2/2] Changelog & version bump --- CHANGELOG.md | 1 + jrnl/__init__.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c7e5696c..f7d38c30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ Changelog ### 1.7 (December 22, 2013) +* __1.7.13__ Fix for UTF-8 in DayOne journals * __1.7.12__ Fixes a bug where filtering by tags didn't work for DayOne journals * __1.7.11__ `-ls` will list all available journals (Thanks @jtan189) * __1.7.10__ Supports `-3` as a shortcut for `-n 3` and updates to tzlocal 1.1 diff --git a/jrnl/__init__.py b/jrnl/__init__.py index da3f2a08..aba1837f 100644 --- a/jrnl/__init__.py +++ b/jrnl/__init__.py @@ -8,7 +8,7 @@ jrnl is a simple journal application for your command line. from __future__ import absolute_import __title__ = 'jrnl' -__version__ = '1.7.12' +__version__ = '1.7.13' __author__ = 'Manuel Ebert' __license__ = 'MIT License' __copyright__ = 'Copyright 2013 - 2014 Manuel Ebert'