Skip to content

Conversation

TyVik
Copy link

@TyVik TyVik commented Nov 25, 2014

TimeField return datetime.time as value and use a TimeInput. If we try to use a DateTimeInput we get error: "'datetime.time' object has no attribute 'year'", therefore bug not in Django. I try convert datetime.time to datetime.datetime before execute "force_text" and it works :)

@TyVik TyVik mentioned this pull request Nov 25, 2014
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.

1 participant