Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 2.6 issue: datetime.timedelta has no attribute 'total_seconds' #5

Closed
bialecki opened this issue Jun 18, 2012 · 2 comments
Closed
Labels

Comments

@bialecki
Copy link
Contributor

Works fine in 2.7, just an issue for 2.6.

@kumarnitin
Copy link
Collaborator

aah shoot...i think we can get rid of total_seconds. Equivalent to (td.microseconds + (td.seconds + td.days * 24 * 3600) * 106) / 106

@peterbe
Copy link

peterbe commented Jun 18, 2012

duplicate but mine's got a traceback
#10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants