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

Date handling improvement and various fixes #218

Merged
merged 4 commits into from
Jan 18, 2022

Conversation

AT0myks
Copy link
Contributor

@AT0myks AT0myks commented Jan 17, 2022

Fixed a few things and most importantly the date handling is now locale independent. I thought strftime %b's reliance on the locale was the cause for #160 and #189 but after some testing it seems like as soon as you pass a wrong month (as in not the first 3 letters of a month in English like the RFC specifies it) you get an error (imaplib.IMAP4.error: UID command error: BAD [b'Error in IMAP command UID SEARCH: Invalid search date parameter (0.001 + 0.000 secs).']) so I don't think these two issues are related to a locale issue.

@martinrusev martinrusev merged commit 38aa133 into martinrusev:master Jan 18, 2022
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.

None yet

2 participants