openpotato / openholidaysapi

Web service for the OpenHolidays API project
https://openholidaysapi.org/swagger/index.html
GNU Affero General Public License v3.0
9 stars 2 forks source link

Bavarian holidays are all labeled as `BY-AU` #9

Closed Fox32 closed 5 months ago

Fox32 commented 5 months ago

For example the Heilige Drei Könige return that they are from BY-AU:

  {
    "id": "04f86fc2-424a-46e5-befd-2dce33158470",
    "country": {
      "isoCode": "DE"
    },
    "nationwide": false,
    "subdivisions": [
      {
        "code": "DE-ST",
        "shortName": "ST"
      },
      {
        "code": "DE-BW",
        "shortName": "BW"
      },
      {
        "code": "DE-BY-AU",
        "shortName": "BY-AU"
      }
    ],
    "type": "Public",
    "name": [
      {
        "language": "DE",
        "text": "Heilige Drei Könige"
      }
    ]
  },

I think this holiday applies for all over Bavaria, not just Augsburg.

fstueber commented 5 months ago

Should be fixed now. Please check.

Fox32 commented 5 months ago

Looks good, thanks!