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

setDateTimeClass is missing on OpeningHours::class #266

Closed
jhorie opened this issue Jan 17, 2025 · 1 comment · Fixed by #267
Closed

setDateTimeClass is missing on OpeningHours::class #266

jhorie opened this issue Jan 17, 2025 · 1 comment · Fixed by #267

Comments

@jhorie
Copy link

jhorie commented Jan 17, 2025

When creating the OpeningHours class using the static method createAndMergeOverlappingRanges, you are unable to set the DateTimeClass for that instance. You should be able to pass it via createAndMergeOverlappingRanges method, or a setDateTimeClass method must be available like in version 2.41.0.

@kylekatarnls
Copy link
Collaborator

Its now possible to pass 'dateTimeClass' as an option (array key) in createAndMergeOverlappingRanges() since 4.1.3

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 a pull request may close this issue.

2 participants