Skip to content

Return arg in case of invalid param in strftime #4530

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

Merged
merged 2 commits into from
Feb 21, 2023

Conversation

itsankitkp
Copy link
Contributor

Chrono panics in case of unsupported formats, this patch handles such cases and returns supplied format as a result.

@itsankitkp
Copy link
Contributor Author

itsankitkp commented Feb 20, 2023

This is re-implementation of PR: #4474
as previous PR got messed up git history

Chrono panics in case of unsupported formats, this patch handles such
cases and returns supplied format as a result.
Copy link
Member

@youknowone youknowone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good except for the comment.

you don't need to open a new pr to fix branch. please ask help next time. I can help you to fix them 😄

@itsankitkp itsankitkp force-pushed the handle-panic-strftime-new branch from 71a8095 to fcfe8e1 Compare February 20, 2023 19:28
Copy link
Member

@youknowone youknowone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for contributing!

@youknowone youknowone merged commit 2e27587 into RustPython:main Feb 21, 2023
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