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

Allow None as 'default_tzinfo' of DateTime. #6

Merged
merged 1 commit into from
Apr 2, 2011
Merged

Allow None as 'default_tzinfo' of DateTime. #6

merged 1 commit into from
Apr 2, 2011

Conversation

dnouri
Copy link
Member

@dnouri dnouri commented Mar 29, 2011

Another small enhancement to colander.DateTime.

This allows us to use DateTime without a timezone info entirely. An example:

start = colander.SchemaNode(
    colander.DateTime(default_tzinfo=None))

(I need to store these without timezone since there's no timezone support at least with SQLAlchemy/SQLite.)

This allows us to use DateTime without a timezone info entirely.
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