Socket
Socket
Sign inDemoInstall

icalendar

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

icalendar - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

9

lib/types.js

@@ -59,2 +59,5 @@ // Copyright (C) 2011 Tri Tech Computers Ltd.

format: function(value) {
if(!(value instanceof Date))
value = new Date(value);
return value.getFullYear()

@@ -75,2 +78,5 @@ +pad(value.getMonth()+1)

format: function(value) {
if(!(value instanceof Date))
value = new Date(value);
return format_value('DATE', value)+'T'+format_value('TIME', value);

@@ -162,2 +168,5 @@ },

format: function(value) {
if(!(value instanceof Date))
value = new Date(value);
// TODO: Right now we always use pure local time

@@ -164,0 +173,0 @@ // That means the timezone is ignored and times are always local

2

package.json
{
"name": "icalendar",
"version": "0.1.1",
"version": "0.1.2",
"author": "James Emerton <james@tri-tech.com>",

@@ -5,0 +5,0 @@ "description": "RFC5545 iCalendar parser/generator",

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