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

Add decorator to optionally format dates as string #2099

Merged
merged 2 commits into from
Oct 7, 2024

Conversation

browniebroke
Copy link
Contributor

@browniebroke browniebroke commented Sep 4, 2024

What does this change

Update date time provider to allow formatting all dates as string by passing a pattern keyword arguments.

Fix #2097

@browniebroke browniebroke marked this pull request as ready for review September 4, 2024 16:54
Copy link
Collaborator

@fcurella fcurella left a comment

Choose a reason for hiding this comment

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

proxy.pyi is auto-generated by generate_stubs.py, and shouldn't be edited manually. Can you undo the changes to the file?

@browniebroke
Copy link
Contributor Author

Ah right. Will do

@browniebroke
Copy link
Contributor Author

proxy.pyi is auto-generated by generate_stubs.py, and shouldn't be edited manually. Can you undo the changes to the file?

Done

Copy link
Collaborator

@fcurella fcurella 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!

@fcurella fcurella merged commit dd1e446 into joke2k:master Oct 7, 2024
56 checks passed
@browniebroke browniebroke deleted the date-as-strings-decorator branch October 7, 2024 16:47
fcurella added a commit that referenced this pull request Oct 31, 2024
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.

Optionally return dates as strings in datetime provider
2 participants