Skip to content

Commit 26f1589

Browse files
committed
month minus one
1 parent f11618d commit 26f1589

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/util/GitUtil.hx

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class GitUtil
3838
dateString = dateString.trim();
3939
if (dateString.length != 10) throw 'invalid date: ' + dateString; // skip non-versioned files
4040
var splitted = dateString.split("-");
41-
return new Date(Std.parseInt(splitted[0]), Std.parseInt(splitted[1]), Std.parseInt(splitted[2]) - 1, 1, 1, 1);
41+
return new Date(Std.parseInt(splitted[0]), Std.parseInt(splitted[1]) - 1, Std.parseInt(splitted[2]), 1, 1, 1);
4242
}
4343

4444
static function getDateLog(path:String):String {

0 commit comments

Comments
 (0)