Hello,
i have a problem with the format of my dates and time
i have an method with this line
> :published_at => utc_to_local(Time.now.utc))
in dev mode it''s working great
=> Tue Mar 06 13:27:00 UTC 2007>> Time.now.utc
=> Mon Apr 02 22:48:40 UTC 2007
On server for production
=> lun avr 02 22:28:00 -0400 2007>> Time.now.utc
=> lun avr 02 23:37:28 UTC 2007>>
How i can fix that ?
thanks you
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---