checkdomain / Holiday

Check whether a date is a holiday
www.checkdomain.de
MIT License
49 stars 27 forks source link

Create BR Provider #21

Closed wandersonwhcr closed 7 years ago

wandersonwhcr commented 7 years ago

This PR creates a Brazilian Holiday Provider with all holidays, nationals or state. Brazil have a problem: some holidays are optionals, it means that some people must work or not, depending of working nature. For example, Carnival ("Carnaval" in Brazilian Portuguese) is optional, but everyone don't work (crazy, huh?). I think we must add a static option to set if must use or not optional holidays.

~ brazilians like holidays hahahah ~

Cheers!

FlorianKoerner commented 7 years ago

Awesome work! Thank you!

wandersonwhcr commented 7 years ago

I forgot to add an entry into README. I will create another PR, sorry.

FlorianKoerner commented 7 years ago

Do you mean this? https://github.com/checkdomain/Holiday/commit/a72d6be9fab775dc82a018d17366d44c7057265f#diff-04c6e90faac2675aa89e2176d2eec7d8R9

wandersonwhcr commented 7 years ago

Yes! TY :)