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

fix(strftime): treat %% as an escape sequence #137

Merged
merged 1 commit into from
Mar 28, 2023
Merged

fix(strftime): treat %% as an escape sequence #137

merged 1 commit into from
Mar 28, 2023

Conversation

5j9
Copy link
Contributor

@5j9 5j9 commented Mar 28, 2023

Replace re.findall with re.sub. I believe this makes things
simpler because there is no longer need for symbol and format
arguments in helper functions.

fixes #131

@5j9 5j9 changed the title fix(strftime) fix(strftime): treat %% as an escape sequence Mar 28, 2023
@5j9 5j9 changed the title fix(strftime): treat %% as an escape sequence fix(strftime): treat %% as an escape sequence Mar 28, 2023
@5j9 5j9 changed the title fix(strftime): treat %% as an escape sequence fix(strftime): treat %% as an escape sequence Mar 28, 2023
@5j9
Copy link
Contributor Author

5j9 commented Mar 28, 2023

BTW, I'd like to suggest to delete the master branch of this repository if you don't need it. I got confused while trying to rebase this pull request.

@5j9 5j9 marked this pull request as draft March 28, 2023 19:36
@5j9 5j9 marked this pull request as ready for review March 28, 2023 19:42
Replace `re.findall` with `re.sub`. I believe this makes things
easier because there is no longer need for `symbol` and `format`
arguments in helper functions.

fixes #131
Copy link
Owner

@slashmili slashmili left a comment

Choose a reason for hiding this comment

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

Amazing @5j9! You are rock and rolling 🚀

@slashmili slashmili merged commit 701936a into slashmili:main Mar 28, 2023
@5j9 5j9 deleted the strftime branch March 29, 2023 02:49
@5j9 5j9 restored the strftime branch March 29, 2023 02:49
@5j9 5j9 deleted the strftime branch March 29, 2023 02:49
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.

datetime and jdatetime pass diffrent returns
2 participants