Skip to content

Commit

Permalink
Merge branch 'hotfix/HumanDate'
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Holl committed Apr 14, 2014
2 parents 9ba3d1b + 514aa26 commit e312056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FlashAir/card.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def __init__(self, file_name, directory_name, size, attributes, date, time):

date=int(date)
self.date=date;
self.date_human=(((date&(0x3F<<9))>>9)+1980,((date&(0x1F<<5))>>5),date&(0x1F))
self.date_human=(((date&(0x3F<<9))>>9)+1980,((date&(0xF<<5))>>5),date&(0x1F))


class command(object):
Expand Down

0 comments on commit e312056

Please sign in to comment.