GothenburgBitFactory / holidata

Holidata is the core of holidata.net, a no-nonsense, ad-free provider of international holiday data.
https://holidata.net
MIT License
43 stars 11 forks source link

Add locale for es-EC #31

Open lauft opened 4 years ago

lauft commented 4 years ago

The following locale needs to be verified/completed:

class es_EC(Locale):
    """
    01-01: [NF] Año Nuevo
    05-01: [NF] Día del Trabajo
    05-24: [NF] Batalla del Pichincha
    08-10: [NF] Primer Grito de Independencia
    10-09: [NF] Independencia de Guayaquil
    11-02: [NF] Día de Difuntos
    11-03: [NF] Independencia de Cuenca
    12-25: [NRF] Navidad
    : [NV] Carnaval
    : [NRV] Viernes Santo
    """

    locale = "es-EC"
    easter_type = EASTER_WESTERN

Checklist:

alx741 commented 3 years ago

Are all holidays (i.e. days "which are defined by law on which business or work are suspended or reduced") listed? Can you provide the legal sources which define the holidays?

Yes, all correct. "El ministerio del turismo", as the entity responsible for decreeing holidays, lists them in the official website, in compliance with the public service and labor reformatory law

Is the spelling correct? Can you maybe provide a translation?

All correct

Are the fixed dates \<month>-\<day> correct?

All correct

If a holiday has a variable date: Is the algorithm to calculate it correct/can you provide it if missing? If it depends on the easter date: Is it the western or orthodox easter date?

If a holiday is proclaimed by the government: Can you provide the source?

Government proclaimed holidays: "LEY ORGÁNICA REFORMATORIA A LA LEY ORGÁNICA DEL SERVICIOPÚBLICO Y AL CÓDIGO DEL TRABAJO"

Are holidays moved to a different date, e.g. if they fall on a saturday/sunday/...?

Yes, Art. 2, Lit. 3 & Art. 3, Lit. 2: Saturday -> Friday, Sunday -> Monday, Tuesday -> Monday, Wednesday/Thursday -> Friday.

Are holidays observed on a different date (is there a substitute holiday), e.g. if they fall on a saturday/sunday/...?

No

Are the flags correct? (N = national holiday, defined by law, R = holiday with religious background, F = holiday with fixed date, V = holiday with variable date)

All correct

Have there been any holidays renamed/deleted/created since 2011? If yes, which ones and since when?

No