diff --git a/lib/fromPgn.js b/lib/fromPgn.js index a3a0379..923ebf5 100644 --- a/lib/fromPgn.js +++ b/lib/fromPgn.js @@ -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])