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

"Object of class DateTimeImmutable could not be converted to string" after update to 3.2.0 #307

Closed
radekdostal opened this issue Feb 7, 2024 · 0 comments

Comments

@radekdostal
Copy link

Version: 3.2.0

Bug Description

"Object of class DateTimeImmutable could not be converted to string" after update to 3.2.0.
I think, that exception is thrown here: https://github.com/nette/di/blob/v3.2.0/src/DI/Config/Adapters/NeonAdapter.php#L214

Steps To Reproduce

config.neon
parameters:

demand:

sendAvailableFromDate: 2024-01-03 10:00:00

Expected Behavior

Configuration parameter "sendAvailableFromDate" as DateTimeImmutable object.

@dg dg closed this as completed in cba0caf Feb 7, 2024
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

1 participant