Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add datetime.datetime type to commit_date and author_date#1501

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Byron merged 1 commit intogitpython-developers:mainfromSergeantMenacingGarlic:date_types
Oct 14, 2022
Merged

Add datetime.datetime type to commit_date and author_date#1501

Byron merged 1 commit intogitpython-developers:mainfromSergeantMenacingGarlic:date_types
Oct 14, 2022

Conversation

SergeantMenacingGarlic
Copy link
Contributor

Update type hints to match acceptable date types.

Passing adatetime.datetime object forauthor_date orcommit_date causes a mypy type error, these dates are passed toparse_date ingit.objects.util, which does accept adatetime.datetime object.

@ByronByron merged commit183cf35 intogitpython-developers:mainOct 14, 2022
@ByronByron added this to thev3.1.30 - Bugfixes milestoneOct 14, 2022
@Byron
Copy link
Member

Thanks a lot, much appreciated!

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
@SergeantMenacingGarlic@Byron

[8]ページ先頭

©2009-2025 Movatter.jp