Socket
Socket
Sign inDemoInstall

colombia-holidays

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    colombia-holidays

Días festivos no laborables en Colombia


Version published
Weekly downloads
498
decreased by-8.79%
Maintainers
1
Install size
45.7 kB
Created
Weekly downloads
 

Readme

Source

colombia-holidays

Días festivos no laborables en Colombia. Calculados con base en la ley 51 de 1983

Lastmodified: 2017-04-25
Since: 2017-04-24
Version: 0.0.1
Author: escatano@bancolombia.com.co
Example

npm install colombia-holidays 
var module = require('colombia-holidays');

colombia-holidays~getColombiaHolidaysByYear(year) ⇒ array

Devuelve la lista de festivos no laborables en Colombia para un año

Kind: inner method of colombia-holidays
Returns: array - Arreglo con la lista de festivos para el año ingresado

ParamTypeDescription
yearintAño entre 1970 y 99999 para el que se desea obtener la lista de festivos

Example

//Invocación
var array = module.getColombiaHolidaysByYear(2017);
// Lista de retorno
[ { holiday: '2017-01-01',
  celebrationDay: '2017-01-01',
  celebration: 'Año Nuevo' },
{ holiday: '2017-01-09',
  celebrationDay: '2017-01-06',
  celebration: 'Día de los Reyes Magos' },
{ holiday: '2017-03-20',
  celebrationDay: '2017-03-19',
  celebration: 'Día de San José' },
{ holiday: '2017-04-13',
  celebrationDay: '2017-04-13',
  celebration: 'Jueves Santo' },
{ holiday: '2017-04-14',
  celebrationDay: '2017-04-14',
  celebration: 'Viernes Santo' },
{ holiday: '2017-05-01',
  celebrationDay: '2017-05-01',
  celebration: 'Día del Trabajo' },
{ holiday: '2017-05-29',
  celebrationDay: '2017-05-25',
  celebration: 'Ascensión del Señor' },
{ holiday: '2017-06-19',
  celebrationDay: '2017-06-15',
  celebration: 'Corphus Christi' },
{ holiday: '2017-06-26',
  celebrationDay: '2017-06-23',
  celebration: 'Sagrado Corazón de Jesús' },
{ holiday: '2017-07-03',
  celebrationDay: '2017-06-29',
  celebration: 'San Pedro y San Pablo' },
{ holiday: '2017-07-20',
  celebrationDay: '2017-07-20',
  celebration: 'Día de la Independencia' },
{ holiday: '2017-08-07',
  celebrationDay: '2017-08-07',
  celebration: 'Batalla de Boyacá' },
{ holiday: '2017-08-21',
  celebrationDay: '2017-08-15',
  celebration: 'La Asunción de la Virgen' },
{ holiday: '2017-10-16',
  celebrationDay: '2017-10-12',
  celebration: 'Día de la Raza' },
{ holiday: '2017-11-06',
  celebrationDay: '2017-11-01',
  celebration: 'Todos los Santos' },
{ holiday: '2017-11-13',
  celebrationDay: '2017-11-11',
  celebration: 'Independencia de Cartagena' },
{ holiday: '2017-12-08',
  celebrationDay: '2017-12-08',
  celebration: 'Día de la Inmaculada Concepción' },
{ holiday: '2017-12-25',
  celebrationDay: '2017-12-25',
  celebration: 'Día de Navidad' } ]

Made with ♥ at Nequi

FAQs

Last updated on 16 May 2017

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc