storm-calendar
Advanced tools
Comparing version 0.2.0 to 0.2.1
/** | ||
* @name storm-calendar: | ||
* @version 0.1.1: Fri, 05 Jan 2018 16:48:55 GMT | ||
* @version 0.2.0: Wed, 10 Jan 2018 08:41:56 GMT | ||
* @author stormid | ||
@@ -5,0 +5,0 @@ * @license MIT |
@@ -12,2 +12,6 @@ import { diffDays, addDays, monthNames, monthViewFactory, monthViewExists, activateDates } from './utils'; | ||
//normalise hour for timestamp comparison | ||
this.startDate.setHours(0,0,0,0); | ||
this.endDate.setHours(0,0,0,0); | ||
for (let i = 0; i <= totalDays; i++) eventDateObjects.push(addDays(this.startDate, i)); | ||
@@ -22,2 +26,3 @@ //Array.apply(null, new Array(totalDays + 1)).map((item, i) => addDays(this.startDate, i));s | ||
console.log(this.data); | ||
eventDateObjects = []; | ||
@@ -24,0 +29,0 @@ this.renderView(0); |
/** | ||
* @name storm-calendar: | ||
* @version 0.1.1: Fri, 05 Jan 2018 16:48:55 GMT | ||
* @version 0.2.0: Wed, 10 Jan 2018 08:41:56 GMT | ||
* @author stormid | ||
@@ -133,2 +133,6 @@ * @license MIT | ||
//normalise hour for timestamp comparison | ||
this.startDate.setHours(0, 0, 0, 0); | ||
this.endDate.setHours(0, 0, 0, 0); | ||
for (var i = 0; i <= totalDays; i++) { | ||
@@ -144,2 +148,3 @@ eventDateObjects.push(addDays(this.startDate, i)); | ||
console.log(this.data); | ||
eventDateObjects = []; | ||
@@ -146,0 +151,0 @@ this.renderView(0); |
{ | ||
"name": "storm-calendar", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "author": "stormid", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
204337
533