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

Feature tzaware #110

Merged
merged 5 commits into from
Mar 1, 2019
Merged

Feature tzaware #110

merged 5 commits into from
Mar 1, 2019

Conversation

barronh
Copy link
Contributor

@barronh barronh commented Feb 8, 2019

Internally converting dates with timezones to naive UTC so that dates with timezones can be passed to JulianDayFromDate and date2num. Implicitly adds support to utime.date2num.

Functionality and tests have been added. Including python2.7 capabilities.

Internally converting dates with timezones to naive UTC
so that dates with timezones can be passed to JulianDayFromDate
and date2num. Implicitly adds support to utime.date2num
2.7 did not have the timezone class with the utc object, but the documentation included a working example.
Testing for py2.7 is challenging because I do not readily have that environment. Using TravisCI to find 2.7 bugs
py.test is only runing all test_ or runTest, so runTest was renamed as test_tz_naive
@jswhit jswhit merged commit d4870a7 into Unidata:master Mar 1, 2019
@jswhit
Copy link
Collaborator

jswhit commented Mar 1, 2019

Looks good, merging now. Thanks @barronh !

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