GitLogParser.js
authorAlan Knowles <alan@roojs.com>
Sat, 2 Mar 2013 04:48:35 +0000 (12:48 +0800)
committerAlan Knowles <alan@roojs.com>
Sat, 2 Mar 2013 04:48:35 +0000 (12:48 +0800)
GitLogParser.js

index 09062eb..9d601f7 100644 (file)
@@ -105,7 +105,7 @@ GitLogParser = {
         
         //ret.start = xDate.Date.parseDate(this.date.format('Y-m-d') + ' ' + time, 'Y-m-d H:i:s');
         ret.start = xDate.Date.parseDate(
-                            (this.date ? this.date.format('Y-m-d')  : (new Date()).format('Y-m-d')) +
+                            (this.date ? this.date.format('Y-m-d')  : (new xDate.Date()).format('Y-m-d')) +
                             ' ' + time, 'Y-m-d H:i:s');
 
         while (ret.cmd === false) {