ElkArte Community

Project Support => Support => Topic started by: DeadMan on December 31, 2022, 09:52:11 am

Title: Calendar Holidays List
Post by: DeadMan on December 31, 2022, 09:52:11 am
I finally decided to use the calendar on a site, and noticed that the ones that have specific dates that change yearly only goes up to 2020. Does anyone have an updated calendar list?

Might be an idea to make a calendar patch package to update the calendars.



Also, on a side note, not sure why, but the 3 sites I have, all seem to have different table prefixes in the databases.
Wonder if that could be due to Softaculous.
Title: Re: Calendar Holidays List
Post by: Spuds on December 31, 2022, 01:30:54 pm
On a fresh 1.1.9 you will get the dates out to 2030 ... I don't recall if I added that as part of the never ending 1.1.9 update, but I bet I did not :embarrassed:

Here is the list:
https://github.com/elkarte/Elkarte/blob/patch_1-1-9/install/install_1-1.php#L634
Title: Re: Calendar Holidays List
Post by: DeadMan on December 31, 2022, 04:47:24 pm
@Spuds, how would one be able to do just the holiday list into a minor DB patch?
Could I just copy that bit and import it via phpmyadmin?
Title: Re: Calendar Holidays List
Post by: Spuds on December 31, 2022, 09:48:35 pm
Just use a simple SSI script ...

Plop this baby in your forum root, point to it https://bla.bla.bla/calup.php Then check the calendar and you should see the new dates (removing the old ones is your option).  Then delete the file, its work is done.