adjust git date format for Excel
authoralexlamsl <alexlamsl@gmail.com>
Sat, 13 Feb 2016 17:19:23 +0000 (01:19 +0800)
committeralexlamsl <alexlamsl@gmail.com>
Sat, 13 Feb 2016 17:19:23 +0000 (01:19 +0800)
backtest.js

index f15df78..bce790f 100644 (file)
@@ -139,7 +139,7 @@ if (process.argv.length > 2) {
         var index = line.indexOf(' ');
         var hash = line.substr(0, index);
         table[hash] = {
-          date: line.substr(index + 1)
+          date: line.substr(index + 1).replace('+', '')
         };
         return hash;
       });