rails / jbuilder

Jbuilder: generate JSON objects with a Builder-style DSL
MIT License
4.34k stars 440 forks source link

Configure JBuilder date format #465

Open grigory-bogush opened 5 years ago

grigory-bogush commented 5 years ago

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 commented 2 years ago

Any solution for this?

shaheenps07 commented 2 years ago

any solution for this?