public
Fork of halorgium/mephisto
Description: A mirror of the mephisto code-base
Homepage: http://mephistoblog.com/
Clone URL: git://github.com/technoweenie/mephisto.git
Click here to lend your support to: mephisto and make a donation at www.pledgie.com !
show overview times in current timezone

git-svn-id: http://svn.techno-weenie.net/projects/mephisto/trunk@1438 
567b1171-46fb-0310-a4c9-b4bef9110e78
technoweenie (author)
Wed Jul 26 23:01:48 -0700 2006
commit  50762912e389f59c64bf3be759e7ba1e58934f04
tree    056d62a95b84565417f46e828b70c79d22cd6a06
parent  4d2a84720addeb4d52f4c4f555cc7828be7f57df
...
10
11
12
13
 
14
15
...
10
11
12
 
13
14
15
0
@@ -10,6 +10,6 @@ module Admin::OverviewHelper
0
   end
0
 
0
   def event_time_for(event, long = false)
0
- long ? event.created_at.to_ordinalized_s(:plain) : event.created_at.to_s(:time_only)
0
+ utc_to_local(event.created_at).send *(long ? [:to_ordinalized_s, :plain] : [:to_s, :time_only])
0
   end
0
 end

Comments

    No one has commented yet.