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

Configure JBuilder date format #465

Open
grigory-bogush opened this issue Aug 7, 2019 · 2 comments
Open

Configure JBuilder date format #465

grigory-bogush opened this issue Aug 7, 2019 · 2 comments

Comments

@grigory-bogush
Copy link

grigory-bogush commented Aug 7, 2019

JBuilder doesn't seem to using the configured format:
Date::DATE_FORMATS[:default] = "%d-%m-%Y"
How do I customize it without having to add .to_s to every date?

@kbhyan
Copy link

kbhyan commented Jan 5, 2022

Any solution for this?

@shaheenps07
Copy link

any solution for this?

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

3 participants