Commit 60c7dbd340a71bb100dd659918e594651889a413

Authored by evan ago
1 parent 75bb1e19bd
Exists in master

save arg change

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

app/com/piki_ds/ver2ggh/gghScore.scala View file @ 60c7dbd
... ... @@ -32,7 +32,7 @@
32 32 val currentTime = new Date()
33 33  
34 34 val day_delm = 24 * 1000 * 60 * 60L
35   - val saveDay = if (args.length >= 1) args(0) else format.format(currentTime)
  35 + val saveDay = if (args.length >= 1) args(0) else format.format(currentTime.getTime - day_delm)
36 36 val ind = -6 to 0
37 37 val dateSet = ind.map(x => {
38 38 format.format(format.parse(saveDay).getTime + day_delm * x)