chrono-holidays
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -35,3 +35,3 @@ 'use strict'; | ||
var determineYear = function determineYear(ref, match) { | ||
if (match[1] === undefined) return ref.getFullYear(); | ||
if (match[1] === undefined) return new Date(ref).getFullYear(); | ||
@@ -38,0 +38,0 @@ return parseInt(match[1]); |
{ | ||
"name": "chrono-holidays", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Holidays addition to `chrono`", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
6926