Skip to content

Commit

Permalink
correct interpretation of p4 timestamps, which are in seconds rather …
Browse files Browse the repository at this point in the history
…than millis
  • Loading branch information
Brian Chang committed Apr 26, 2012
1 parent 6e64a98 commit f391d9d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -45,7 +45,7 @@ class FileLogImpl extends AbstractOperation implements FileLog {
:PathRev = PathRev.create(_path.Path, dict["rev" + i].toInt()),
:Change = dict["change" + i].toInt(),
:Op = dict["action" + i],
:Date = DATE_FMT.format(new Date(dict["time" + i].toLong())),
:Date = DATE_FMT.format(new Date(dict["time" + i].toLong() * 1000)),
:User = dict["user" + i]
}
var j = 0
Expand Down

0 comments on commit f391d9d

Please sign in to comment.