Giter VIP home page Giter VIP logo

enrico's Introduction

enrico

Enrico Service provides holiday dates for several countries.

Quick Start

You can install Enrico Service from docker image. For latest docker image, see packages.
Current Swagger documentation for JSON data exchange can be found here.
Enrico supports also iCalendar and SOAP protocols.

Detailed Documentation

All documentation regarding Enrico Service can be found here - https://kayaposoft.com/enrico/

enrico's People

Contributors

arkaninger avatar ccprog avatar dofine avatar julianclem avatar jurajmajer avatar lstg avatar mgharbik avatar oajulianclementson avatar rhyswilliamsza avatar sydneychadwick avatar tmoniuszko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

enrico's Issues

Composer

Why don't we publish this on Packagist and make able to get by Composer?

Allow renaming holiday names

In some languages the holiday names are too long and messing up the calendar if other events are scheduled to the same day

README would useful

It would be very useful to have a README so that users can understand which countries are covered here. I could create a bootstrap file if needed but I would appreciate if you could list all countries that are already covered. Many thanks in advance!

By using this API endpoint it looks like only 47 countries are covered. Is it correct?

UK bank holidays for 2022

UK bank holidays for 2022 have been changed due to the Queen's Platinum Jubilee:

  • Spring Bank Holiday that normally falls on the last Monday of May has been moved to Thursday 2 June
  • An extra Bank Holiday has been added on Friday 3 June

Applies to all regions.

Ref: https://www.gov.uk/bank-holidays

API to determine if a day is a working day

Hello!

Could you please make an API for querying whether a specific day is a workday in a country or not? Almost like the isPublicHoliday action, but taking in account extra workdays too.
Correct me if I'm wrong, but with the current API I can only use getPublicHolidaysForDateRange to extract this information.

Thank you!

Date addition (Australia Day Subdivision: AU-SA / Year: 2020)

It appears from https://www.safework.sa.gov.au/law-compliance/laws-regulations/public-holidays that in 2020 in South Australia, 2020-01-26 (Sunday) and 2020-01-27 (Monday) are both "Australia Day" public holidays. See specifically footnote 1 on this website which states: "If a Saturday, normal rates apply and the following Monday is the public holiday. If a Sunday, that and the following Monday are both public holidays."

Your project is currently only recording 2020-01-27 (Monday) as Australia Day.

It would be great if could add the additional Sunday.

"easter_days() not defined" running on 5.6.36

PHP Version 5.6.36

Running in container from this image.

Release 2.0.1

Any call produces this error:

Fatal error: Call to undefined function easter_days() in /var/www/html/holiday_library/HolidayProcessor.php on line 193

Searching through the source in the tag, I can verify the easter_daysfunction really is not defined anywhere I can find.

Request: Next Workday

Hi,

Can you also add a Next Workday to the Open API specs? So you call the function with a startDate and a number of Workdays in the past of future, lets call it daysDalta (integer value minus to plus range). And then with the Workdays and holidays you can calculate the next day and of course a country the know whick holidays to use.

For example say my startDate = 20-12-2024 and daysDelta = +4 (days) and Country is 'NLD' then the function NextWorkday returns the workday: 30-12-2024
since 21 & 22 and also 28 & 29 are Weekends and 25 & 26 are holidays

other example:
startDate = 20-12-2024 and daysDelta = -6 (days) and Country is 'NLD' then the function NextWorkday returns the workday: 12-12-2024
since 14 & 15 are Weekends

Thx! Ciao Berend

Date and/or holiday name modification ("State Holiday" Subdivision: US-GA / Year: 2020)

It appears from https://georgia.gov/popular-topic/state-holidays that in 2020 in Georgia, "State Holiday" is 2020-04-10 (Friday).

Your project is currently recording Confederate Memorial Day on 2020-04-27 (Monday), and does not record "State Holiday" on 2020-04-10 (Friday).

It would be great if could investigate and determine what, if any changes, are necessary to your project for this holiday. Thanks in advance!

Docker image?

Hi!

If I submit a PR, any chance we can get a docker image up to hub.docker.com ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.