Skip to content

Commit

Permalink
Fixes #76
Browse files Browse the repository at this point in the history
  • Loading branch information
robertklep committed Jan 6, 2017
1 parent 437c206 commit f942a45
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion quotefix/attributionclasses.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ class QFDateTime(str):
'%x' : 'EEE MMM dd yyyy',
'%X' : 'HH:mm:ss',
'%z' : 'Z',
'%Z' : 'zzz',
}

def __new__(cls, nsdate):
Expand Down Expand Up @@ -129,7 +130,8 @@ def __new__(cls, nsdate):
daylong = "EEEE",
date = "EEE MMM dd yyyy",
time = "HH:mm:ss",
timezone = "Z",
offset = "Z",
timezone = "zzz",
)

for attribute, format in attributes.items():
Expand Down

0 comments on commit f942a45

Please sign in to comment.