Skip to content

Commit

Permalink
fix: revert timestamp change #31 (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbender9 authored Nov 2, 2018
1 parent aae8af4 commit 96e8305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fromPgn.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ class Parser extends EventEmitter {
} else {
mainFields.forEach((key, index) => {
var val = split[index]
pgn[key] = key === 'timestamp' ? val + 'Z' : Number(val)
pgn[key] = key === 'timestamp' ? val : Number(val)
})

var len = Number(split[5])
Expand Down

0 comments on commit 96e8305

Please sign in to comment.