Skip to content

Commit

Permalink
fix: timestamps from actisense log files not formatted properly (#31)
Browse files Browse the repository at this point in the history
The timestamps are missing the 'Z'
  • Loading branch information
sbender9 authored Oct 31, 2018
1 parent f28916d commit d1ae97f
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 : Number(val)
pgn[key] = key === 'timestamp' ? val + 'Z' : Number(val)
})

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

0 comments on commit d1ae97f

Please sign in to comment.