How do I control how timestamps are displayed?

3 views
Skip to first unread message

ed

unread,
Nov 7, 2007, 11:50:40 AM11/7/07
to ActiveScaffold : Ruby on Rails plugin
I have some columns which are timestamps recording when events
happened (by storing Time.now). The first time I see these I get the
date and time, thereafter I only get the date. I would like to see the
time and date always.

Thanks

CCH

unread,
Nov 7, 2007, 9:55:04 PM11/7/07
to ActiveScaffold : Ruby on Rails plugin
Hi Ed

You may want to check out the strftime method.

CCH
http://cch4rails.blogspot.com

Reply all
Reply to author
Forward
0 new messages