Author: farra
Date: Mon Aug 31 15:43:49 2009
New Revision: 809628
URL: http://svn.apache.org/viewvc?rev=809628&view=rev
Log:
consite conferences: references to TimeZone class fix
Modified:
labs/consite/trunk/conferences/lib/schedule_tags.rb
Modified: labs/consite/trunk/conferences/lib/schedule_tags.rb
URL:
http://svn.apache.org/viewvc/labs/consite/trunk/conferences/lib/schedule_tags.rb?rev=809628&r1=809627&r2=809628&view=diff
==============================================================================
--- labs/consite/trunk/conferences/lib/schedule_tags.rb (original)
+++ labs/consite/trunk/conferences/lib/schedule_tags.rb Mon Aug 31 15:43:49 2009
@@ -55,7 +55,7 @@
tag "time_slot" do |tag|
fmt = tag.attr['datefmt'] ? tag.attr['datefmt'] : "%H:%M"
- tz = TimeZone[tag.locals.conference.time_zone]
+ tz = ActiveSupport::TimeZone[tag.locals.conference.time_zone]
time = tz.utc_to_local tag.locals.current_time_slot
time.strftime(fmt)
end
@@ -216,7 +216,7 @@
[:start_time, :end_time].each do | column |
tag "tracks:session:#{column}" do |tag|
if tag.attr['datefmt']
- tz = TimeZone[tag.locals.conference.time_zone]
+ tz = ActiveSupport::TimeZone[tag.locals.conference.time_zone]
time = tz.utc_to_local tag.locals.session[column]
time.strftime(tag.attr['datefmt'])
else
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]