Created
July 25, 2012 07:58
-
Star
(154)
You must be signed in to star a gist -
Fork
(19)
You must be signed in to fork a gist
-
-
Save shunchu/3175001 to your computer and use it in GitHub Desktop.
Revisions
-
shunchu revised this gist
Jul 25, 2012 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ t = 236 # seconds Time.at(t).utc.strftime("%H:%M:%S") => "00:03:56" # Reference # http://stackoverflow.com/questions/3963930/ruby-rails-how-to-convert-seconds-to-time -
shunchu renamed this gist
Jul 25, 2012 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
shunchu created this gist
Jul 25, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ t = 236 // seconds Time.at(t).utc.strftime("%H:%M:%S") => "00:03:56" // Reference // http://stackoverflow.com/questions/3963930/ruby-rails-how-to-convert-seconds-to-time