Skip to content

Commit

Permalink
Fixed year out of range
Browse files Browse the repository at this point in the history
  • Loading branch information
Desiderata committed Feb 1, 2015
1 parent 828c1b9 commit 4c526a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geeknote/out.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def rawInput(message, isPass=False):


def printDate(timestamp):
return datetime.date.strftime(datetime.date.fromtimestamp(timestamp), "%d.%m.%Y")
return datetime.date.strftime(datetime.date.fromtimestamp(timestamp / 1000), "%d.%m.%Y")

def printLine(line, endLine="\n", out=sys.stdout):
message = line + endLine
Expand Down

0 comments on commit 4c526a5

Please sign in to comment.