Forum: Ruby on Rails Date tzinfo and european format

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Ba00a402965da738f601b6367cf3224f?d=identicon&s=25 Bolo (Guest)
on 2007-04-03 00:50
(Received via mailing list)

i have a problem with the format of my dates and time

i have an method with this line

> :published_at => utc_to_local(

in dev mode it's working great

=> Tue Mar 06 13:27:00 UTC 2007
=> Mon Apr 02 22:48:40 UTC 2007

On server for production

=> lun avr 02 22:28:00 -0400 2007
=> lun avr 02 23:37:28 UTC 2007

How i can fix that ?

thanks you
This topic is locked and can not be replied to.