Skip to content

Date range limit / Automatic date for iCal #28

@Opisek

Description

@Opisek

Hi! I am developing a self-hosted calendar application called Luna. It lets you insert links to iCal files to be displayed in the calendar.

I'd like to integrate OpenHolidaysApi into my project to automatically suggest iCal links for users looking to add public holidays to their calendars.

The problem is, that your API always requires validFrom and validTo, even for iCal files. This would mean that users of my program would have to readd the public holidays calendar periodically.

However, with iCal recurrency, I don't see a reason for such a limitation. For example, this german holiday's iCal does not set an upper bound for event recurrence.

I would love to be able to get an iCal file via the API that is either valid with no date limit (shouldn't be an issue with the iCal response type because of built-in recurrency and the fact you only really need to generate the file once and then cache it) or for the API to automatically fill in validFrom and validTo to like one year back and one year forward instead of returning an error when the parameters are missing.

Related to #7

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions