mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
scoreboard: bug fixes
This commit is contained in:
6 files changed
+6
-6
No files matched your search
@@ -55,7 +55,7 @@ export function apply(ctx: Context) {
|
||||
payload: {
|
||||
name: tdoc.title,
|
||||
duration: Math.floor((new Date(tdoc.endAt).getTime() - new Date(tdoc.beginAt).getTime()) / 1000),
|
||||
frozen: Math.floor((new Date(tdoc.endAt).getTime() - new Date(tdoc.lockAt).getTime()) / 1000),
|
||||
frozen: Math.floor((new Date(tdoc.lockAt).getTime() - new Date(tdoc.beginAt).getTime()) / 1000),
|
||||
problems: tdoc.pids.map((i, n) => ({ name: pid(n), id: i.toString() })),
|
||||
teams: teams.map((t) => ({
|
||||
id: t.uid.toString(),
|
||||
|
||||
Reference in new issue
Block a user