mirror of
https://github.com/IonicaBizau/git-stats.git
synced 2024-12-22 21:32:10 +01:00
Fixed the merging
This commit is contained in:
parent
03190c52d0
commit
f13b9395f8
1 changed files with 3 additions and 5 deletions
|
@ -155,11 +155,9 @@ GitStats.iterateDays = function (data, callback) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Merge the defaults
|
// Merge the defaults
|
||||||
data = Ul.merge(data, {
|
data.end = data.end || Moment();
|
||||||
end: Moment()
|
data.start = data.start || Moment().subtract(1, "years");
|
||||||
, start: Moment().subtract(1, "years")
|
data.format = data.format || DATE_FORMAT;
|
||||||
, format: DATE_FORMAT
|
|
||||||
});
|
|
||||||
|
|
||||||
var start = data.start
|
var start = data.start
|
||||||
, end = data.end
|
, end = data.end
|
||||||
|
|
Loading…
Reference in a new issue