Git Product home page Git Product logo

davkat1 / frenchrepublicanicalendar Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 1.0 836 KB

An iCalendar (.ics) file that displays the date and rural day name according to the French Republican calendar

License: GNU General Public License v3.0

MATLAB 100.00%
calendar french-republican-calendar french-revolution french-revolutionary-calendar google-calendar icalendar matlab outlook-calendar time-keeping calender-converter

frenchrepublicanicalendar's Introduction

French Republican iCalendar

An iCalendar (.ics) file that displays the date and rural day name according to the French Republican calendar

This repository includes iCalendar (.ics) files of the French Republican calendar for the years 2022, 2023, 2024, and 2025, and the MATLAB script used to make them.

The ics files can be loaded onto an Outlook or Google calendar. They will appear as calendar events for each day, marked as free with no reminders (similar to other holiday calendars).

Each day will display the current date according to the French Republican calendar and the corresponding rural day name.

Loading the calendar

Outlook

Download the .ics files for the year(s) of your choosing:

Go to File->Open & Export->Open Calendar and choose the downloaded .ics file.

You can then choose to "Open as new" or "Import".

"Open as new" will create a new calendar which can be opened next to your own. It's also easier to delete this calendar if you are no longer interested.

"Import" will import all calendar events (all days of the year) to your own calendar. I am not aware of an easy way to delete all events from your calendar afterwards.

Also note that Outlook displays an error while importing, but it doesn't seem to cause any issues.

Google Calendar

Next to "Other calendars" click the + button and choose "From URL". Enter any of the following URLs and click "Add calendar":

  • 2022: https://raw.githubusercontent.com/davkat1/FrenchRepublicaniCalendar/main/FrenchRepublicanCalnedar_01012022-31122022.ics
  • 2023: https://raw.githubusercontent.com/davkat1/FrenchRepublicaniCalendar/main/FrenchRepublicanCalnedar_01012023-31122023.ics
  • 2024: https://raw.githubusercontent.com/davkat1/FrenchRepublicaniCalendar/main/FrenchRepublicanCalnedar_01012024-31122024.ics
  • 2025: https://raw.githubusercontent.com/davkat1/FrenchRepublicaniCalendar/main/FrenchRepublicanCalnedar_01012025-31122025.ics

Files in this repository

French Republican iCalendar files

These can be simply downloaded and installed as explained above.

  • 2022: FrenchRepublicanCalnedar_01012022-31122022.ics
  • 2023: FrenchRepublicanCalnedar_01012023-31122023.ics
  • 2024: FrenchRepublicanCalnedar_01012024-31122024.ics
  • 2025: FrenchRepublicanCalnedar_01012025-31122025.ics

Files used to generate the iCalendar files

MATLAB files

  • greg2rep.m: Convert a Gregorian date (given as a datetime object) to a French Republican date (given as a string)
  • createFrenchRepublicaniCalendar.m: Create a French Republican iCalendar file for a given date span
  • createCalendars2022to2025.m: The script used to generate the iCalendar files above

CSV files

  • ruralDayNames.csv: a list of the rural day names in English, following the translation in Wikipedia, as it appeared on 19 Thermidor 230 (August 6, 2022).
  • frenchRepublicanMonths.csv: the months of the French Republican calendar and an English translation.

Other files

socialPreview.jpg taken from Wikipedia.

Date conversion

Conversion from Greogrian to Republican dates follows the Equinox method for the years 1-15 of the Republic (1792-1805). From year 15 on, the Romme method is used. For further explanation, see Wikipedia (accessed 19 Thermidor 230 (August 6, 2022)).

More information

From Wikipedia:

The French Republican calendar (calendrier républicain français), also commonly called the French Revolutionary calendar (calendrier révolutionnaire français), was a calendar created and implemented during the French Revolution and used by the French government for about 12 years from late 1793 to 1805, and for 18 days by the Paris Commune in 1871.

The revolutionary system was designed in part to remove all religious and royalist influences from the calendar, and was part of a larger attempt at decimalisation in France (which also included decimal time of day, decimalisation of currency, and metrication). It was used in government records in France and other areas under French rule, including Belgium, Luxembourg, and parts of the Netherlands, Germany, Switzerland, Malta, and Italy.

To reduce the influence of the Church, Fabre d'Églantine introduced a Rural Calendar in which each day of the year had a unique name associated with the rural economy, stated to correspond to the time of year. Every décadi (day ending in 0) was named after an agricultural tool. Each quintidi (day ending in 5) was named for a common animal. The rest of the days were named for "grain, pasture, trees, roots, flowers, fruits" and other plants, except for the first month of winter, Nivôse, during which the rest of the days were named after minerals.

Five extra days – six in leap years – were national holidays at the end of every year.

Author

David Katzin, [email protected], https://twitter.com/realDavidKatzin

Created on Thermidor 230 (August 2022).

frenchrepublicanicalendar's People

Contributors

davkat1 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

pterosdiacos

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.