Skip to content

Conversation

@regnarock
Copy link
Contributor

Usage of tzinfo must have been forgotten when coding this method. It works properly now.

$> python

>>> import pendulum
>>> tz = pendulum('Europe/Paris')
>>> tz.utcoffset(pendulum.utcnow())
datetime.timedelta(0, 3600)

@sdispater sdispater merged commit 1113696 into python-pendulum:master Oct 31, 2016
@sdispater
Copy link
Collaborator

Thanks!

@regnarock regnarock deleted the patch-1 branch October 31, 2016 16:07
@regnarock
Copy link
Contributor Author

Fixes #65

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants