Show More
Commit Description:
refactor to partials...
Commit Description:
refactor to partials git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@62 6386c4cd-e34a-4fa8-8920-d93eb39b512e
File last commit:
Show/Diff file:
Action:
app/helpers/main_helper.rb | 13 lines | 219 B | text/x-ruby | RubyLexer |
pramook
initial commit...
r0 module MainHelper
def format_short_time(time)
now = Time.now
st = ''
if (time.yday != now.yday) or
(time.year != now.year)
jittat
+in_place_editing for problems...
r21 st = time.strftime("%x ")
pramook
initial commit...
r0 end
st + time.strftime("%X")
end
end