date-holidays
Version:
worldwide holidays
223 lines (222 loc) • 7 kB
YAML
holidays:
# @attrib https://en.wikipedia.org/wiki/Public_holidays_in_Ecuador
EC:
names:
es: Ecuador
en: Ecuador
dayoff: sunday
langs:
- es
zones:
- America/Guayaquil
- Pacific/Galapagos
days:
# Since 2017, rest days move to make long weekends: Tuesday to the previous Monday,
# Wednesday or Thursday to Friday, Saturday to the previous Friday and Sunday to the
# next Monday. January 1, December 25 and Carnival only move from the weekend.
# November 2 and 3 follow the rules for consecutive holidays (General Provision One).
# @source https://files.eluniverso.com/archivos/2017/05/ro-sup-906-ref-serv-pub-cod-tra-20-12-2016.pdf
01-01:
_name: 01-01
active:
- to: "2016-12-31"
01-01 if saturday then previous friday if sunday then next monday:
_name: 01-01
active:
- from: "2017-01-01"
easter -48:
_name: Carnival
easter -47:
_name: easter -47
easter -3:
_name: easter -3
easter -2:
_name: easter -2
easter:
_name: easter
type: observance
05-01:
_name: 05-01
active:
- to: "2016-12-31"
05-01 if tuesday then previous monday if wednesday,thursday then next friday if saturday then previous friday if sunday then next monday:
_name: 05-01
active:
- from: "2017-01-01"
05-24:
name:
en: The Battle of Pichincha
es: Batalla del Pichincha
active:
- to: "2016-12-31"
05-24 if tuesday then previous monday if wednesday,thursday then next friday if saturday then previous friday if sunday then next monday:
name:
en: The Battle of Pichincha
es: Batalla del Pichincha
active:
- from: "2017-01-01"
07-24:
name:
en: The Birthday of Simón Bolívar
es: El Natalicio de Simón Bolívar
type: observance
08-10:
name:
en: Declaration of Independence of Quito
es: Día del Primer Grito de Independencia de Quito
active:
- to: "2016-12-31"
08-10 if tuesday then previous monday if wednesday,thursday then next friday if saturday then previous friday if sunday then next monday:
name:
en: Declaration of Independence of Quito
es: Día del Primer Grito de Independencia de Quito
active:
- from: "2017-01-01"
10-09:
name:
en: Independence of Guayaquil
es: Independencia de Guayaquil
active:
- to: "2016-12-31"
10-09 if tuesday then previous monday if wednesday,thursday then next friday if saturday then previous friday if sunday then next monday:
name:
en: Independence of Guayaquil
es: Independencia de Guayaquil
active:
- from: "2017-01-01"
10-31:
name:
en: Flag Day
es: Dia de La Bandera
type: observance
11-02:
_name: 11-02
active:
- to: "2016-12-31"
11-02 if wednesday then next friday if saturday then previous friday if sunday then next tuesday:
_name: 11-02
active:
- from: "2017-01-01"
11-03:
name:
en: Independence of Cuenca
es: Independencia de Cuenca
active:
- to: "2016-12-31"
11-03 if wednesday then previous monday if saturday then previous thursday if sunday then next monday:
name:
en: Independence of Cuenca
es: Independencia de Cuenca
active:
- from: "2017-01-01"
12-25:
_name: 12-25
active:
- to: "2016-12-31"
12-25 if saturday then previous friday if sunday then next monday:
_name: 12-25
active:
- from: "2017-01-01"
12-31:
_name: 12-31
type: observance
states:
# Each canton rests on its creation date, and local holidays move like national ones
# (Ley Orgánica del Servicio Público, Disposición General Cuarta, as amended in 2016).
# @source https://files.eluniverso.com/archivos/2017/05/ro-sup-906-ref-serv-pub-cod-tra-20-12-2016.pdf
P:
name: Pichincha
regions:
QU:
name: Quito
days:
12-06:
name:
en: Foundation of Quito
es: Aniversario de la fundación de Quito
active:
- to: "2016-12-31"
12-06 if tuesday then previous monday if wednesday,thursday then next friday if saturday then previous friday if sunday then next monday:
name:
en: Foundation of Quito
es: Aniversario de la fundación de Quito
active:
- from: "2017-01-01"
A:
name: Azuay
regions:
CU:
name: Cuenca
days:
04-12:
name:
en: Foundation of Cuenca
es: Fundación de Cuenca
active:
- to: "2016-12-31"
04-12 if tuesday then previous monday if wednesday,thursday then next friday if saturday then previous friday if sunday then next monday:
name:
en: Foundation of Cuenca
es: Fundación de Cuenca
active:
- from: "2017-01-01"
# B:
# name: Bolívar
# C:
# name: Carchi
# D:
# name: Orellana
# E:
# name: Esmeraldas
# F:
# name: Cañar
G:
name: Guayas
regions:
GU:
name: Guayaquil
days:
07-25:
name:
en: Foundation of Guayaquil
es: Fundación de Guayaquil
active:
- to: "2016-12-31"
07-25 if tuesday then previous monday if wednesday,thursday then next friday if saturday then previous friday if sunday then next monday:
name:
en: Foundation of Guayaquil
es: Fundación de Guayaquil
active:
- from: "2017-01-01"
# H:
# name: Chimborazo
# I:
# name: Imbabura
# L:
# name: Loja
# M:
# name: Manabí
# N:
# name: Napo
# O:
# name: El Oro
# R:
# name: Los Ríos
# S:
# name: Morona-Santiago
# SD:
# name: Santo Domingo de los Tsáchilas
# SE:
# name: Santa Elena
# T:
# name: Tungurahua
# U:
# name: Sucumbíos
# W:
# name: Galápagos
# X:
# name: Cotopaxi
# Y:
# name: Pastaza
# Z:
# name: Zamora-Chinchipe