-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return the correct seconds since the epoch value for strftime with %s.
%s was being deferred to the result of the conversion to local. This is actually a UTC instance being used to represent local time, so the result would be the number of seconds since the epoch plus the total UTC offset. Override the handling of %s and use the passed in UTC instance to calculate the value. Resolves #91.
- Loading branch information
Showing
2 changed files
with
10 additions
and
3 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