when-am-i / commit
Add Ottoman Empire calendar (Hijri, Rumi fiscal, Gregorian)
screenshots/calendars/ottoman/01-islamic.png | Bin 0 -> 457028 bytes screenshots/calendars/ottoman/02-rumi.png | Bin 0 -> 651478 bytes screenshots/calendars/ottoman/03-gregorian.png | Bin 0 -> 402708 bytes src/data/calendars/ottoman.json | 63 +++++++++++++++++++++++++ 4 files changed, 63 insertions(+) diff --git a/screenshots/calendars/ottoman/01-islamic.png b/screenshots/calendars/ottoman/01-islamic.png new file mode 100644 index 0000000..1bdc259 Binary files /dev/null and b/screenshots/calendars/ottoman/01-islamic.png differ diff --git a/screenshots/calendars/ottoman/02-rumi.png b/screenshots/calendars/ottoman/02-rumi.png new file mode 100644 index 0000000..c36518e Binary files /dev/null and b/screenshots/calendars/ottoman/02-rumi.png differ diff --git a/screenshots/calendars/ottoman/03-gregorian.png b/screenshots/calendars/ottoman/03-gregorian.png new file mode 100644 index 0000000..567afb3 Binary files /dev/null and b/screenshots/calendars/ottoman/03-gregorian.png differ diff --git a/src/data/calendars/ottoman.json b/src/data/calendars/ottoman.json new file mode 100644 index 0000000..960fb57 --- /dev/null +++ b/src/data/calendars/ottoman.json @@ -0,0 +1,63 @@ +{ + "region": { + "name": "Ottoman Empire (Anatolia and the Balkans, core territory)", + "geo": { + "type": "Polygon", + "coordinates": [ + [ + [19.0, 46.0], + [23.0, 47.5], + [29.5, 45.5], + [35.0, 42.0], + [42.0, 41.5], + [44.5, 39.0], + [44.0, 37.0], + [42.0, 37.2], + [36.5, 36.0], + [30.5, 36.0], + [26.5, 38.5], + [22.5, 39.0], + [19.5, 40.0], + [19.0, 46.0] + ] + ] + } + }, + "eras": [ + { + "name": "Hijri era (lunar Islamic civil/religious calendar)", + "start": "1299-01-01", + "end": "1926-01-01", + "calendar": "Islamic", + "usedBy": "Ottoman religious and civil authorities", + "description": "From the empire's founding (traditionally 1299), the lunar Hijri (Islamic) calendar was used for religious purposes and, before the Tanzimat-era fiscal reforms, for civil dating as well. Because it is purely lunar, the Hijri year drifts back through the seasons by about 11 days a year. The AH era was formally abandoned for civil purposes by an act of 26 December 1925, effective from 1926, when the Republic of Turkey moved to the Gregorian calendar.", + "sources": [ + "https://en.wikipedia.org/wiki/Ottoman_calendar", + "https://en.wikipedia.org/wiki/Rumi_calendar" + ] + }, + { + "name": "Rumi era (solar fiscal calendar)", + "start": "1840-01-01", + "end": "1926-01-01", + "calendar": "Rumi", + "usedBy": "Ottoman state administration", + "description": "A solar fiscal calendar, using Julian month lengths and leap-year rules, introduced to fix the lunar Hijri calendar's seasonal drift for tax and budget purposes; proposed as early as 1677 and expanded through the 18th century, it was officially adopted for all civic matters under Sultan Abdulmecid I around 1840 (the Tanzimat reforms). It counted years from the Hijri epoch (622 CE) but kept a constant 584-year offset from the Julian/Gregorian year rather than tracking the lunar Hijri year. In February 1917 the calendar was realigned directly onto Gregorian calendar dates (the day after 15 Subat 1332 became 1 Mart 1333), still keeping the 584-year offset, until the Republic of Turkey dropped the Rumi/Hijri era numbering for the Gregorian calendar from 1926.", + "sources": [ + "https://en.wikipedia.org/wiki/Rumi_calendar", + "https://en.wikipedia.org/wiki/Ottoman_calendar" + ] + }, + { + "name": "Gregorian era", + "start": "1926-01-01", + "end": null, + "calendar": "Gregorian", + "usedBy": "the Republic of Turkey", + "description": "Atatürk's calendar reforms replaced the Rumi/Hijri civil dating with the Gregorian calendar from 1 January 1926, the calendar Turkey (the Ottoman Empire's successor state in this region) uses today.", + "sources": [ + "https://en.wikipedia.org/wiki/Ottoman_calendar" + ] + } + ] +}