Displaying 1 result from an estimated 1 matches for "us_short_tim".
Did you mean:
us_short_time
2010 Apr 30
0
using in_groups_of to get data to display horizontally
...splay next to the name, not below it.
- @clock.in_groups_of(2) do |group|
%tr.header
- group.each do |item|
%th= item.name
%tr
- group.each do |item|
%td
%span.value{"offset" => item.zone.now.utc_offset}
= item.zone.now.to_s(:us_short_time)
Thanks for any response.
--
Posted via http://www.ruby-forum.com/.
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To uns...