Ruby on Rails Monday, July 21, 2014

On 21 July 2014 20:22, <avery.rozar@insecure-it.com> wrote:
> In my view I'm displaying a timestamp of when an IPS event occurred <%=
> event[:timestamp] %>

By simply displaying it like that you are letting the system work out
how to display it. If you want to display it in the format you want
then use the appropriate formatting helper.

Colin

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLt1%2B8zxLNeAx0bCPHHmJ8ER%3DNYfpuXzkgPYP_46tVp3Sg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

1 comment:

Post a Comment