Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

calendar-tools

Package Overview
Dependencies
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

calendar-tools - npm Package Compare versions

Comparing version 0.3.6 to 0.3.7

10

History.md
0.3.7 / 2012-01-19
==================
* fix bug for monthy(day of week) - allday recurring event
0.3.6 / 2012-01-19
==================
* allday correction in getElapsedInstances() method
0.3.5 / 2012-01-18

@@ -3,0 +13,0 @@ ==================

2

lib/calendar-tools.js

@@ -14,3 +14,3 @@

exports.version = '0.3.6';
exports.version = '0.3.7';

@@ -17,0 +17,0 @@ /**

@@ -224,2 +224,3 @@ /*!

endLimitDate.setDate(endLimitDate.getDate() + 1);
var evDuration = _date.getDiff(endLimitDate, ev.start) - 1;

@@ -265,3 +266,6 @@

if (ev.recurrence['repeat-on'].mode == 'day-of-week') {
var endC = new Date(+end + +this.ev.end - this.ev.start);
var endC = new Date(+end + _date.getDiff(this.ev.end, this.ev.start))
if (ev.allDay)
endC.setDate(endC.getDate() + 1);
if (+limitDate >= +endC)

@@ -268,0 +272,0 @@ elapsedInstances++;

{
"name": "calendar-tools"
, "version": "0.3.6"
, "version": "0.3.7"
, "description": "Calendar object model"

@@ -5,0 +5,0 @@ , "keywords": ["calendar", "google calendar", "fullCalendar", "recurring events", "icalendar", "rfc2445"]

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc