Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Correctly parse DateTimeImmutable #132

Merged
merged 1 commit into from
May 1, 2023

Conversation

alexbusu
Copy link
Contributor

Since the RRuleTrait::parseDate() method accepts DateTimeInterface we can expect DateTimeImmutable objects as well. As known, these have a different behavior than the DateTime.

This PR fixes the trait method for the DateTimeImmutable argument.

@alexbusu alexbusu force-pushed the bugfix/parse-date-time-immutable branch from b124196 to 2cadf30 Compare April 27, 2023 16:15
@rlanvin
Copy link
Owner

rlanvin commented May 1, 2023

Thanks, good find!

@rlanvin rlanvin merged commit 38ea18e into rlanvin:master May 1, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants