Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use datetime.now() instead of datetime.fromtimestamp()
The datetime object has a neat .now() method the calculates the current time. This pull-request uses datetime.now() instead of a call to time() and a call to datetime.fromtimestamp(). Merging this will close #718. Closes #721
- Loading branch information
1 parent
35c22fa
commit 1cefc80
Showing
2 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters