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

Invalid vCard date-time string #595

Open
the-djmaze opened this issue Oct 6, 2022 · 2 comments
Open

Invalid vCard date-time string #595

the-djmaze opened this issue Oct 6, 2022 · 2 comments

Comments

@the-djmaze
Copy link

the-djmaze commented Oct 6, 2022

DateTimeParser.php

Replace
Z | (?: \+|-)(?: [0-9]{2}:[0-9]{2})
Into
Z | (?: \+|-)(?: [0-9]{2}:?[0-9]{2})

Because some timezone entries are without the :

@staabm
Copy link
Member

staabm commented Oct 6, 2022

thx for reporting. feel free to provide a PR with an additional test-case covering the change

@the-djmaze
Copy link
Author

I don't have an actual test-case yet, as it was only reported at
the-djmaze/snappymail#528

But will do a PR when i have the time.

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

No branches or pull requests

2 participants