Description:
git-svn-id: http://theory.cpe.ku.ac.th/grader/judge/trunk/scripts@237 6386c4cd-e34a-4fa8-8920-d93eb39b512e
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r56:17b93a2be7ca - - 1 file changed: 1 inserted, 1 deleted
@@ -95,7 +95,7 | |||||
|
95 |
|
95 | ||
|
96 | def save_result(submission,result) |
|
96 | def save_result(submission,result) |
|
97 | problem = submission.problem |
|
97 | problem = submission.problem |
|
98 | - submission.graded_at = Time.now |
|
98 | + submission.graded_at = Time.now.gmtime |
|
99 | points = result[:points] |
|
99 | points = result[:points] |
|
100 | submission.points = points |
|
100 | submission.points = points |
|
101 | comment = @config.report_comment(result[:comment]) |
|
101 | comment = @config.report_comment(result[:comment]) |
You need to be logged in to leave comments.
Login now