Skip to content

Commit

Permalink
Emend incorrect bug fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
vernondcole committed Feb 6, 2009
1 parent 7c98664 commit 0f608f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adodbapi/adodbapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def DateObjectFromCOMDate(self,comDate):
fcomDate = float(comDate)
secondsperday=86400 # 24*60*60
#ComDate is number of days since 1899-12-31, gmtime epoch is 1970-1-1 = 25569 days
t=time.localtime(secondsperday*(fcomDate-25569.0))
t=time.gmtime(secondsperday*(fcomDate-25569.0))
return t #year,month,day,hour,minute,second,weekday,julianday,daylightsaving=t

def Date(self,year,month,day):
Expand Down

0 comments on commit 0f608f6

Please sign in to comment.