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

Add way to set timezone for DataSource and AbstractPropertySourceIterator #683

Open
Hanmac opened this issue Dec 9, 2024 · 0 comments
Open
Labels

Comments

@Hanmac
Copy link

Hanmac commented Dec 9, 2024

Feature Request

Extend AbstractPropertySourceIterator transformation from Datetime into String with option to set a different TimeZone instead.

Example, the Server is Running as UTC, but the AdminUser wants a different one (provided by TimezoneDetectorInterface)

The Datetime fields in the Admin are transformed into the right timezone by the Detector.

But exporting the Table with exporter caused it to be UTC again, which confused the User.

The problem is that DataSource is final, and when I try to decorate it, the Columns are already translated. (so it is difficult to interact with them)

Maybe related to #649

@Hanmac Hanmac added the feature label Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant