We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
In timezone.pyi, instead of
def localtime(value: _AnyTime, timezone: Optional[tzinfo] = None) -> datetime: ... def localdate(value: _AnyTime, timezone: Optional[tzinfo] = None) -> date: ...
these should quite simply be:
def localtime(value: Optional[_AnyTime] = None, timezone: Optional[tzinfo] = None) -> datetime: ... def localdate(value: Optional[_AnyTime] = None, timezone: Optional[tzinfo] = None) -> date: ...
This is true for django >= 1.11, so well within the scope of django-stubs.
Oh, and thank you so much for this great package! <3
The text was updated successfully, but these errors were encountered:
Yes, I confirm that this is true: https://github.com/django/django/blob/master/django/utils/timezone.py#L191-L211
Sorry, something went wrong.
Makes localtime/localdate accept optional params
35f98df
Closes #104
Makes localtime/localdate accept optional params (#105)
f7db296
* Makes localtime/localdate accept optional params Closes #104 * Removed None from default values
Thanks!
fix: add missing db_table argument to ManyToManyField (typeddjango#109
db_table
ee595c5
) Closes typeddjango#104.
Successfully merging a pull request may close this issue.
In timezone.pyi, instead of
these should quite simply be:
This is true for django >= 1.11, so well within the scope of django-stubs.
Oh, and thank you so much for this great package! <3
The text was updated successfully, but these errors were encountered: