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

Simplify header date time string parsing by using a regular expression #18

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

JohnTasler
Copy link
Contributor

On a news server I user, I ran into some more odd-ball formats for header date time fields. So, I rewrote the parsing logic to use a regular expression rather than all the special-case logic that was there. All related tests succeed.

@JohnTasler
Copy link
Contributor Author

Are you still alive? I submitted this PR 4 years ago but still haven't had this PR taken, or even reviewed, as far as I know.

@JohnTasler JohnTasler changed the title Fixed header date time formatting by using a regular expression Simplify header date time string parsing by using a regular expression Feb 27, 2025
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.

1 participant