getfeiertage.js
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -49,3 +49,3 @@ { | ||
"name": "getfeiertage.js", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"main": "index.js", | ||
@@ -52,0 +52,0 @@ "repository": { |
@@ -99,4 +99,4 @@ # getfeiertage.js | ||
// get Maria Himmelfahrt | ||
var mariaHimmelfahrt = Feiertage.getMariaHimmelfahrt(format, year); | ||
// get Peter und Paul | ||
var peterUndPaul = Feiertage.getPeterUndPaul(format, year); | ||
@@ -103,0 +103,0 @@ // get Maria Himmelfahrt |
@@ -193,2 +193,10 @@ var Feiertage = {}; | ||
Feiertage.getPeterUndPaul = function (format, year) { | ||
if (format == formatDE) { | ||
return "29.7." + year; | ||
} else if (format == formatDateObj) { | ||
return year + "-7-29"; | ||
} | ||
} | ||
Feiertage.getBundesfeierCH = function(format, year) { | ||
@@ -195,0 +203,0 @@ if (format == formatDE) { |
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
21915
358