Skip to content

Set formatter class to display correct data while viewing value #138

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

Open
wants to merge 3 commits into
base: maint/0.0828xx
Choose a base branch
from

Conversation

KES777
Copy link

@KES777 KES777 commented Oct 28, 2020

FIXES: RT133621

When inflated value is stringified it does not display all info about the date. Eg. $result->date_field ."" will be formatted as 2009-01-15T11:00:00 instead of the expected 2009-01-15 11:00:00+0300 if DBD::Pg was used.

In this pull request we implement the option to setup the formatter or autosetup it to be the same as underlied database.

@KES777
Copy link
Author

KES777 commented Apr 6, 2025

@abraxxa Hi. Do we need tests as well to get it merged?

@KES777 KES777 force-pushed the auto_set_formatter branch from 3ef3a24 to 4a24fb0 Compare April 9, 2025 00:04
@KES777
Copy link
Author

KES777 commented Apr 9, 2025

Tests added!

@KES777 KES777 force-pushed the auto_set_formatter branch from 4a24fb0 to a9058ab Compare April 9, 2025 00:06
@KES777 KES777 force-pushed the auto_set_formatter branch from a9058ab to 3449989 Compare April 9, 2025 00:07
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 this pull request may close these issues.

1 participant