# HG changeset patch # User jittat # Date 2008-05-07 01:00:19 # Node ID a805b8fa46cc06f117545386367d09d20b1bb2ed # Parent cf9b6fbe568023da9504182a533537555fd4e96c [web] more use of utc time git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@248 6386c4cd-e34a-4fa8-8920-d93eb39b512e diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -39,7 +39,7 @@ end def format_short_time(time) - now = Time.now + now = Time.now.gmtime st = '' if (time.yday != now.yday) or (time.year != now.year) @@ -64,7 +64,7 @@ #{user.full_name}
-Current time is #{format_short_time(Time.new)}
+Current time is #{format_short_time(Time.new.gmtime)} UTC
APIO'08