Use total_seconds.
Merge branch 'master' of github.com:materialsproject/custodian