Open grigory-bogush opened 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?
Date::DATE_FORMATS[:default] = "%d-%m-%Y"
.to_s
Any solution for this?
any solution for this?
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?