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

add datetime.tzinfo=None (closes issue #208) #209

Merged
merged 4 commits into from
Nov 15, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update
jswhit committed Nov 15, 2020
commit 50040a1f94a4a93a13c965995bf3cf71f9fda4fd
1 change: 1 addition & 0 deletions cftime/_cftime.pyx
Original file line number Diff line number Diff line change
@@ -910,6 +910,7 @@ The default format of the string produced by strftime is controlled by self.form
cdef readonly str calendar
cdef readonly int _dayofwk, _dayofyr
cdef readonly bint has_year_zero
cdef object tzinfo

# Python's datetime.datetime uses the proleptic Gregorian
# calendar. This boolean is used to decide whether a