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

moment-ferie-fr

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

moment-ferie-fr

An extension to moment.js that handles working days in France

  • 0.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Moment-ferie-fr Build Status

Plug-in Moment.js jours feriés en France

exemple utilisation:

var day = moment("9-6-2014", "DD-MM-YYYY");

console.log( day.isFerie() );  // boolean
console.log( day.getFerie() ); // string, 'Pentecôte'

console.log( day.getFerieList() ); // array, liste jours feriés de l'année de day
console.log( moment().getFerieList(2018) );  // array, liste jours feriés de l'année 2018

console.log( day.lundiDePaques() ); // momentObj, jour de paques de l'année de day
console.log( moment().lundiDePaques(2018) ); // momentObj, jour de paques de l'année 2018

/*
idem pour:

  day.paques();
  day.lundiDePaques();
  day.ascension();
  day.pentecote();

  day.jourDeLAn();
  day.feteDuTravail();
  day.victoireDeAllies();
  day.feteNationale();
  day.assomption();
  day.toussaint();
  day.armistice();
  day.noel();
*/

Keywords

FAQs

Package last updated on 15 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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