Giter Site home page Giter Site logo

Comments (4)

nclm avatar nclm commented on July 4, 2024 2

Great, I made the edit here: #6014

from calendar.

nclm avatar nclm commented on July 4, 2024 1

Alright, it seems that https://github.com/nextcloud/calendar/blob/main/src/resources/holiday_calendars.json is simply a copy of https://github.com/thunderbird/thunderbird-website/blob/master/media/caldata/calendars.json, which makes sense.

But Thunderbird is now using https://github.com/thunderbird/thunderbird-website/blob/master/media/caldata/autogen/calendars.json since last year, with (more) calendars auto-updated every quarter from a “calendar provider”. If you are up for using these, replacing holiday_calendars.json with the contents of autogen/calendars.json could do the job (as long as Nextcloud can handle the extra fields (locale, language, updated).

from calendar.

joshtrichards avatar joshtrichards commented on July 4, 2024

The list is currently manually maintained. It's located here:

https://github.com/nextcloud/calendar/blob/b2d23f855269ab34494701a9df1bcdbd9792a904/src/resources/holiday_calendars.json

It was just updated a few months ago. I'm not sure if some were left out at the time or if new ones have since been added @ Thunderbird.

Feel free to make some additions to it and submit them via a PR. :-)

from calendar.

miaulalala avatar miaulalala commented on July 4, 2024

Alright, it seems that main/src/resources/holiday_calendars.json is simply a copy of thunderbird/thunderbird-website@master/media/caldata/calendars.json, which makes sense.

But Thunderbird is now using thunderbird/thunderbird-website@master/media/caldata/autogen/calendars.json since last year, with (more) calendars auto-updated every quarter from a “calendar provider”. If you are up for using these, replacing holiday_calendars.json with the contents of autogen/calendars.json could do the job (as long as Nextcloud can handle the extra fields (locale, language, updated).

Feel free to edit the file and push a PR 😄 you can even do it from github by going to https://github.com/nextcloud/calendar/blob/main/src/resources/holiday_calendars.json and clicking "Edit File" in the top right.

from calendar.

Related Issues (20)

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.