Skip to content

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

Merged
slashmili merged 1 commit into
slashmili:mainfrom
5j9:strftime
Mar 28, 2023
Merged

slashmili merged 1 commit into
slashmili:mainfrom
5j9:strftime

Conversation

@5j9

@5j9 5j9 commented Mar 28, 2023

Copy link
Copy Markdown
Contributor

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

5j9 commented Mar 28, 2023

Copy link
Copy Markdown
Contributor Author

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

@slashmili slashmili left a comment

Copy link
Copy Markdown
Owner

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