From 226a920d7f21170fac4260204b5ed415d3f3505e Mon Sep 17 00:00:00 2001 From: Scott Bender Date: Fri, 2 Nov 2018 10:18:55 -0400 Subject: [PATCH] fix: revert bad change to timestamps --- lib/fromPgn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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])