Skip to content

Commit

Permalink
fix acm helper error time
Browse files Browse the repository at this point in the history
  • Loading branch information
zema1 committed Dec 15, 2017
1 parent fe2ea6a commit 03902ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/oj/views/contest/children/ACMHelper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
this.total = data.length
for (let v of data) {
v.problem_display_id = this.problemsMap[v.problem_id]
v.ac_time = moment(this.contest.start_time).add(v.ac_info.ac_time).local().format('YYYY-M-D HH:mm:ss')
v.ac_time = moment(this.contest.start_time).add(v.ac_info.ac_time, 'seconds').local().format('YYYY-M-D HH:mm:ss')
}
this.acInfo = data
this.pagedAcInfo = data.slice(0, this.limit)
Expand Down

0 comments on commit 03902ef

Please sign in to comment.