Skip to content

Commit

Permalink
Fix Bavaria focus-shift#269
Browse files Browse the repository at this point in the history
Signed-off-by: XSpielinbox <[email protected]>
  • Loading branch information
XSpielinbox committed Sep 5, 2024
1 parent d91718d commit bb06008
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 116 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,6 @@ country.description.de.be = Berlin
country.description.de.bw = Baden-Württemberg
country.description.de.by = Bavaria
country.description.de.by.ag = Augsburg
country.description.de.by.in = Ingolstadt
country.description.de.by.mu = Munich
country.description.de.by.re = Regensburg
country.description.de.by.wu = Würzburg
country.description.de.hb = Bremen
country.description.de.he = Hesse
country.description.de.hh = Hamburg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,6 @@ country.description.de.be = Berlin
country.description.de.bw = Baden-Württemberg
country.description.de.by = Bayern
country.description.de.by.ag = Augsburg
country.description.de.by.in = Ingolstadt
country.description.de.by.mu = München
country.description.de.by.re = Regensburg
country.description.de.by.wu = Würzburg
country.description.de.hb = Bremen
country.description.de.he = Hessen
country.description.de.hh = Hamburg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,6 @@ country.description.de.be = Βερολίνο
country.description.de.bw = Μπάντεν-Βίρτεμπεργκ
country.description.de.by = Βαυαρία
country.description.de.by.ag = Άουγκσμπουργκ
country.description.de.by.in = Ίνγκολστατ
country.description.de.by.mu = Μόναχο
country.description.de.by.re = Ρέγκενσμπουργκ
country.description.de.by.wu = Βίρτσμπουργκ
country.description.de.hb = Βρέμη
country.description.de.he = Έσση
country.description.de.hh = Αμβούργο
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,6 @@ country.description.de.be = Berlin
country.description.de.bw = Bade-Wurtemberg
country.description.de.by = Bavière
country.description.de.by.ag = Augsburg
country.description.de.by.in = Ingolstadt
country.description.de.by.mu = Munich
country.description.de.by.re = Regensburg
country.description.de.by.wu = Würzburg
country.description.de.hb = Brême
country.description.de.he = Hesse
country.description.de.hh = Hambourg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,6 @@ country.description.de.be = Berlin
country.description.de.bw = Baden-Württemberg
country.description.de.by = Bavaria
country.description.de.by.ag = Augsburg
country.description.de.by.in = Ingolstadt
country.description.de.by.mu = Munich
country.description.de.by.re = Regensburg
country.description.de.by.wu = Würzburg
country.description.de.hb = Bremen
country.description.de.he = Hesse
country.description.de.hh = Hamburg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,6 @@ country.description.de.be = Berlin
country.description.de.bw = Baden-Wörtemberg
country.description.de.by = Bavária
country.description.de.by.ag = Augsburg
country.description.de.by.in = Ingolstadt
country.description.de.by.mu = Munich
country.description.de.by.re = Regensburg
country.description.de.by.wu = Würzburg
country.description.de.hb = Bremen
country.description.de.he = Hesse
country.description.de.hh = Hamburgo
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,6 @@ country.description.de.be = Berlin
country.description.de.bw = Baden-Württemberg
country.description.de.by = Bavaria
country.description.de.by.ag = Augsburg
country.description.de.by.in = Ingolstadt
country.description.de.by.mu = Munich
country.description.de.by.re = Regensburg
country.description.de.by.wu = Würzburg
country.description.de.hb = Bremen
country.description.de.he = Hesse
country.description.de.hh = Hamburg
Expand Down
31 changes: 6 additions & 25 deletions jollyday-core/src/main/resources/holidays/Holidays_de.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

<Sources>
<Source>https://en.wikipedia.org/wiki/Public_holidays_in_Germany</Source>
<Source of="ISO 3166">https://www.iso.org/obp/ui/#iso:code:3166:DE</Source>
<Source of="ISO 3166-2">https://en.wikipedia.org/wiki/ISO_3166-2:DE</Source>
</Sources>

Expand Down Expand Up @@ -73,6 +74,11 @@
<SubConfigurations hierarchy="by" description="Bavaria">
<Holidays>
<Fixed month="JANUARY" day="6" descriptionPropertiesKey="EPIPHANY"/>

<!-- it actually is not in all of Bavaria, but in most of it:
https://www.statistik.bayern.de/statistik/gebiet_bevoelkerung/zensus/himmelfahrt/index.php -->
<Fixed day="15" month="AUGUST" descriptionPropertiesKey="ASSUMPTION_DAY"/>

<Fixed month="NOVEMBER" day="1" descriptionPropertiesKey="ALL_SAINTS"/>
<RelativeToFixed validFrom="1981" validTo="1989" descriptionPropertiesKey="REPENTANCE_PRAYER">
<Weekday>WEDNESDAY</Weekday>
Expand All @@ -82,34 +88,9 @@
<ChristianHoliday type="CORPUS_CHRISTI" descriptionPropertiesKey="christian.CORPUS_CHRISTI"/>
</Holidays>

<SubConfigurations hierarchy="mu" description="Munich">
<Holidays>
<Fixed day="15" month="AUGUST" descriptionPropertiesKey="ASSUMPTION_DAY"/>
</Holidays>
</SubConfigurations>

<SubConfigurations hierarchy="ag" description="Augsburg">
<Holidays>
<Fixed day="8" month="AUGUST" descriptionPropertiesKey="PEACE"/>
<Fixed day="15" month="AUGUST" descriptionPropertiesKey="ASSUMPTION_DAY"/>
</Holidays>
</SubConfigurations>

<SubConfigurations hierarchy="wu" description="Würzburg">
<Holidays>
<Fixed day="15" month="AUGUST" descriptionPropertiesKey="ASSUMPTION_DAY"/>
</Holidays>
</SubConfigurations>

<SubConfigurations hierarchy="re" description="Regensburg">
<Holidays>
<Fixed day="15" month="AUGUST" descriptionPropertiesKey="ASSUMPTION_DAY"/>
</Holidays>
</SubConfigurations>

<SubConfigurations hierarchy="in" description="Ingolstadt">
<Holidays>
<Fixed day="15" month="AUGUST" descriptionPropertiesKey="ASSUMPTION_DAY"/>
</Holidays>
</SubConfigurations>
</SubConfigurations>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,32 +36,12 @@
<Holidays>
<Fixed month="JANUARY" day="6" descriptionPropertiesKey="EPIPHANY"/>
<Fixed month="JUNE" day="3" descriptionPropertiesKey="christian.CORPUS_CHRISTI"/>
<Fixed month="AUGUST" day="15" descriptionPropertiesKey="ASSUMPTION_DAY"/>
<Fixed month="NOVEMBER" day="1" descriptionPropertiesKey="ALL_SAINTS"/>
</Holidays>
<SubConfigurations hierarchy="mu" description="München">
<Holidays>
<Fixed month="AUGUST" day="15" descriptionPropertiesKey="ASSUMPTION_DAY"/>
</Holidays>
</SubConfigurations>
<SubConfigurations hierarchy="ag" description="Augsburg">
<Holidays>
<Fixed month="AUGUST" day="8" descriptionPropertiesKey="PEACE"/>
<Fixed month="AUGUST" day="15" descriptionPropertiesKey="ASSUMPTION_DAY"/>
</Holidays>
</SubConfigurations>
<SubConfigurations hierarchy="wu" description="Würzburg">
<Holidays>
<Fixed month="AUGUST" day="15" descriptionPropertiesKey="ASSUMPTION_DAY"/>
</Holidays>
</SubConfigurations>
<SubConfigurations hierarchy="re" description="Regensburg">
<Holidays>
<Fixed month="AUGUST" day="15" descriptionPropertiesKey="ASSUMPTION_DAY"/>
</Holidays>
</SubConfigurations>
<SubConfigurations hierarchy="in" description="Ingolstadt">
<Holidays>
<Fixed month="AUGUST" day="15" descriptionPropertiesKey="ASSUMPTION_DAY"/>
</Holidays>
</SubConfigurations>
</SubConfigurations>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,32 +37,12 @@
<Holidays>
<Fixed month="JANUARY" day="6" descriptionPropertiesKey="EPIPHANY"/>
<Fixed month="JUNE" day="16" descriptionPropertiesKey="christian.CORPUS_CHRISTI"/>
<Fixed month="AUGUST" day="15" descriptionPropertiesKey="ASSUMPTION_DAY"/>
<Fixed month="NOVEMBER" day="1" descriptionPropertiesKey="ALL_SAINTS"/>
</Holidays>
<SubConfigurations hierarchy="mu" description="München">
<Holidays>
<Fixed month="AUGUST" day="15" descriptionPropertiesKey="ASSUMPTION_DAY"/>
</Holidays>
</SubConfigurations>
<SubConfigurations hierarchy="ag" description="Augsburg">
<Holidays>
<Fixed month="AUGUST" day="8" descriptionPropertiesKey="PEACE"/>
<Fixed month="AUGUST" day="15" descriptionPropertiesKey="ASSUMPTION_DAY"/>
</Holidays>
</SubConfigurations>
<SubConfigurations hierarchy="wu" description="Würzburg">
<Holidays>
<Fixed month="AUGUST" day="15" descriptionPropertiesKey="ASSUMPTION_DAY"/>
</Holidays>
</SubConfigurations>
<SubConfigurations hierarchy="re" description="Regensburg">
<Holidays>
<Fixed month="AUGUST" day="15" descriptionPropertiesKey="ASSUMPTION_DAY"/>
</Holidays>
</SubConfigurations>
<SubConfigurations hierarchy="in" description="Ingolstadt">
<Holidays>
<Fixed month="AUGUST" day="15" descriptionPropertiesKey="ASSUMPTION_DAY"/>
</Holidays>
</SubConfigurations>
</SubConfigurations>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,32 +37,12 @@
<Holidays>
<Fixed month="JANUARY" day="6" descriptionPropertiesKey="EPIPHANY"/>
<Fixed month="JUNE" day="8" descriptionPropertiesKey="christian.CORPUS_CHRISTI"/>
<Fixed month="AUGUST" day="15" descriptionPropertiesKey="ASSUMPTION_DAY"/>
<Fixed month="NOVEMBER" day="1" descriptionPropertiesKey="ALL_SAINTS"/>
</Holidays>
<SubConfigurations hierarchy="mu" description="München">
<Holidays>
<Fixed month="AUGUST" day="15" descriptionPropertiesKey="ASSUMPTION_DAY"/>
</Holidays>
</SubConfigurations>
<SubConfigurations hierarchy="ag" description="Augsburg">
<Holidays>
<Fixed month="AUGUST" day="8" descriptionPropertiesKey="PEACE"/>
<Fixed month="AUGUST" day="15" descriptionPropertiesKey="ASSUMPTION_DAY"/>
</Holidays>
</SubConfigurations>
<SubConfigurations hierarchy="wu" description="Würzburg">
<Holidays>
<Fixed month="AUGUST" day="15" descriptionPropertiesKey="ASSUMPTION_DAY"/>
</Holidays>
</SubConfigurations>
<SubConfigurations hierarchy="re" description="Regensburg">
<Holidays>
<Fixed month="AUGUST" day="15" descriptionPropertiesKey="ASSUMPTION_DAY"/>
</Holidays>
</SubConfigurations>
<SubConfigurations hierarchy="in" description="Ingolstadt">
<Holidays>
<Fixed month="AUGUST" day="15" descriptionPropertiesKey="ASSUMPTION_DAY"/>
</Holidays>
</SubConfigurations>
</SubConfigurations>
Expand Down

0 comments on commit bb06008

Please sign in to comment.