mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-28 21:46:13 +02:00
Python 2.6 compatibility
This commit is contained in:
parent
974f5a0f9c
commit
4e36d7baf0
4 changed files with 9 additions and 9 deletions
|
@ -58,7 +58,7 @@ class Entry:
|
|||
)
|
||||
|
||||
def __repr__(self):
|
||||
return "<Entry '{}' on {}>".format(self.title.strip(), self.date.strftime("%Y-%m-%d %H:%M"))
|
||||
return "<Entry '{0}' on {1}>".format(self.title.strip(), self.date.strftime("%Y-%m-%d %H:%M"))
|
||||
|
||||
def to_dict(self):
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue