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

getfeiertage.js

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

getfeiertage.js - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

2

package.json

@@ -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) {

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