ng2-jalali-date-picker
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -76,2 +76,5 @@ "use strict"; | ||
var today = moment(); | ||
if (current.format('HH') !== '00') { | ||
current.startOf('day').add(1, 'day'); | ||
} | ||
var daysOfCalendar = this.utilsService.createArray(42) | ||
@@ -89,5 +92,2 @@ .reduce(function (array) { | ||
current.add(1, 'day'); | ||
if (current.format('HH') !== '00') { | ||
current.startOf('day').add(1, 'day'); | ||
} | ||
return array; | ||
@@ -94,0 +94,0 @@ }, []); |
{ | ||
"name": "ng2-jalali-date-picker", | ||
"author": "Mojtaba Zarei", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
578602
150
469