Shouldn't it be created_at?  There's nice time_zone support in Rails
2.. is it 2.1?  Not too sure. What's your version?

On Mon, Sep 8, 2008 at 5:53 PM, Sunny Bogawat
<[EMAIL PROTECTED]> wrote:
>
> Hi,
>   In my application I have to correct the time stamp on event
> discussion posts.  Perhaps they are not observing DST? In any case, they
> are slow by one hour.
>  how to do this ? I have following type of code :-
>
>  <%= frmt_note_date(message.created_on) %> at
> <%=
> display_formated_time(user_timezone_dateTime(message.created_on,'fmt_in_dateTime').split('
> at ').last)
> %>
>
>   above code shows me:-   9/08/2008 at 4:32 AM
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>



-- 
Ramon Tayag

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to