{"id":13412454,"url":"https://github.com/wlbr/feiertage","last_synced_at":"2026-01-23T11:58:54.472Z","repository":{"id":57490138,"uuid":"45543540","full_name":"wlbr/feiertage","owner":"wlbr","description":"Gesetzliche Feiertage und mehr in Deutschland und Österreich (Bank holidays/public holidays in Austria and Germany)","archived":false,"fork":false,"pushed_at":"2025-10-04T21:44:00.000Z","size":2741,"stargazers_count":49,"open_issues_count":0,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-04T23:29:34.264Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wlbr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["wlbr"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2015-11-04T14:19:27.000Z","updated_at":"2025-10-04T21:52:04.000Z","dependencies_parsed_at":"2024-06-19T00:00:03.337Z","dependency_job_id":"4e9532e9-48ee-45bd-a148-a394e24c8e6b","html_url":"https://github.com/wlbr/feiertage","commit_stats":null,"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"purl":"pkg:github/wlbr/feiertage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wlbr%2Ffeiertage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wlbr%2Ffeiertage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wlbr%2Ffeiertage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wlbr%2Ffeiertage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wlbr","download_url":"https://codeload.github.com/wlbr/feiertage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wlbr%2Ffeiertage/sbom","scorecard":{"id":1238488,"data":{"date":"2025-07-07","repo":{"name":"github.com/wlbr/feiertage","commit":"a85091b73aa4bc8dfc911ca7371f1dc4806478cf"},"scorecard":{"version":"v5.2.1-18-gbb9c347d","commit":"bb9c347dff6349d986baab6578a46d68a5524c62"},"score":2.9,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":2,"reason":"2 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 1/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.10.0 not signed: https://api.github.com/repos/wlbr/feiertage/releases/26232620","Warn: release artifact v1.9.1 not signed: https://api.github.com/repos/wlbr/feiertage/releases/26157514","Warn: release artifact v1.8.0 not signed: https://api.github.com/repos/wlbr/feiertage/releases/26151421","Warn: release artifact v1.73 not signed: https://api.github.com/repos/wlbr/feiertage/releases/20726722","Warn: release artifact v1.7.2 not signed: https://api.github.com/repos/wlbr/feiertage/releases/17594189","Warn: release artifact v1.10.0 does not have provenance: https://api.github.com/repos/wlbr/feiertage/releases/26232620","Warn: release artifact v1.9.1 does not have provenance: https://api.github.com/repos/wlbr/feiertage/releases/26157514","Warn: release artifact v1.8.0 does not have provenance: https://api.github.com/repos/wlbr/feiertage/releases/26151421","Warn: release artifact v1.73 does not have provenance: https://api.github.com/repos/wlbr/feiertage/releases/20726722","Warn: release artifact v1.7.2 does not have provenance: https://api.github.com/repos/wlbr/feiertage/releases/17594189"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#signed-releases"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#security-policy"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 1 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-10-04T23:29:37.627Z","repository_id":57490138,"created_at":"2025-10-04T23:29:37.627Z","updated_at":"2025-10-04T23:29:37.627Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28690611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T11:01:27.039Z","status":"ssl_error","status_checked_at":"2026-01-23T11:00:26.909Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T20:01:24.852Z","updated_at":"2026-01-23T11:58:54.439Z","avatar_url":"https://github.com/wlbr.png","language":"Go","readme":"# Feiertage\nFeiertage is a Go/Golang library for calculating German and Austrian bank holidays. It includes the calculation of the date of Easter and, more importantly, offers ways to retrieve public holidays for a state of Germany or Austria (=Bundesland).\n\nThe library is probably useful only for people realizing use cases with special requirements inside of Austria or Germany, such as shift schedules or capacity calculation.\n\n### Documentation\nSee https://godoc.org/github.com/wlbr/feiertage\n\n### Usage:\nThere are two types of functions:\n\n  * `\u003cfeiertag\u003e(year)` and\n  * `\u003cregion\u003e(year optional:IncludingSundays:true)`\n\n`\u003cfeiertag\u003e` returns an extended `time` object (type `feiertag`). It carries the date of the holiday\nin the requested year plus the name of the holiday. `\u003cfeiertag\u003e` may be any of the following:\n\n||||\n|----|-----|----|\n`Neujahr` | `Epiphanias` | `HeiligeDreiKönige`\n`Valentinstag`   | `InternationalerTagDesGedenkensAnDieOpferDesHolocaust`  | `Josefitag`\n`Weiberfastnacht` |  `Karnevalssonntag` | `Rosenmontag`\n`Fastnacht` | `Aschermittwoch` | `InternationalerFrauentag`\n`Palmsonntag` | `Gründonnerstag` | `Karfreitag`\n`Ostern` | `BeginnSommerzeit` | `Ostermontag`\n`Walpurgisnacht` | `TagDerArbeit` | `TagDerBefreiung`\n`Staatsfeiertag` | `InternationalerTagDerPressefreiheit` | `Florianitag`\n`Muttertag` | `Handtuchtag` | `ChristiHimmelfahrt`\n `Vatertag` | `Pfingsten` | `Pfingstmontag`\n`Dreifaltigkeitssonntag` | `Fronleichnam` | `TagDesMeeres`\n`MariäHimmelfahrt` | `SystemAdministratorAppreciationDay` |`Rupertitag`\n`InternationalerKindertag`| `Weltflüchtlingstag` | `TagDerDeutschenEinheit`\n`TagDerVolksabstimmung` | `Nationalfeiertag` | `Erntedankfest`\n`Reformationstag` | `Halloween` | `BeginnWinterzeit`\n`Allerheiligen` | `Allerseelen` | `Martinstag`\n`Karnevalsbeginn` | `Leopolditag` | `Weltkindertag`\n`BußUndBettag` | `Thanksgiving` | `Blackfriday`\n`Volkstrauertag` | `Nikolaus` | `MariäUnbefleckteEmpfängnis`\n`MariäEmpfängnis` | `Totensonntag` | `ErsterAdvent`\n`ZweiterAdvent` | `DritterAdvent` | `VierterAdvent`\n`Heiligabend` | `Weihnachten` | `Christtag`\n`Stefanitag` | `ZweiterWeihnachtsfeiertag` | `Silvester`\n\n\n`\u003cregion\u003e` returns an object of type `region`. It offers a list of public holidays valid in the specified state as well as the name and the shortname of the state as attributes.\n`\u003cregion\u003e` may be any of:\n\n||||\n----|-----|----\n`BadenWürttemberg` | `Bayern` | `Berlin`\n`Brandenburg` | `Bremen` | `Hamburg`\n`Hessen` | `MecklenburgVorpommern` | `Niedersachsen`\n`NordrheinWestfalen` | `RheinlandPfalz` | `Saarland`\n`Sachsen` | `SachsenAnhalt` | `SchleswigHolstein`\n`Thüringen` | `Deutschland` | `Burgenland`\n`Kärnten` | `Niederösterreich` | `Oberösterreich`\n`Salzburg` | `Steiermark` | `Tirol`\n`Vorarlberg` | `Wien` | `Österreich`\n`All` | \u0026nbsp; | \u0026nbsp;\n\nThe optional region function argument `includingSundays` switches the behavior of the region function to include \"gesetzliche Feiertage\" that fall on Sundays in its output. This is important in Brandenburg, particularly for Easter and Pentecost Sunday. If you are calculating shift costs you will need to know even the holidays \"hidden by Sunday\".\n\nThe region functions return the public holidays (\"gesetzliche Feiertage\"). The function `all` returns all defined \"special dates\", such as Penance Day (Buß- und Bettag) or the begin/end of daylight saving time.\n\nThe regional functions for Austrian Bundesländer include saints' days which are state-level holidays, meaning\nschools etc. are generally closed but workers don't get the day off by default. If you don't want to\ninclude these days in your planning, it's okay to reference `Österreich` instead, as legal holidays are\n(more or less) synchronised across all Austrian states (Bundesländer).\n\n### Examples:\n\n    fmt.Println(Ostern(2016))\n    --\u003e 27.03.2016 Ostern\n\n\n    fmt.Println(BußUndBettag(2016))\n    --\u003e 16.11.2016 Buß- und Bettag\n\n\n\n    fmt.Println(Brandenburg(2016))\n    --\u003e Brandenburg (BB)\n        01.01.2016 Neujahr\n        25.03.2016 Karfreitag\n        27.03.2016 Ostern\n        28.03.2016 Ostermontag\n        01.05.2016 Tag der Arbeit\n        05.05.2016 Christi Himmelfahrt\n        15.05.2016 Pfingsten\n        16.05.2016 Pfingstmontag\n        03.10.2016 Tag der deutschen Einheit\n        31.10.2016 Reformationstag\n        25.12.2016 Weihnachten\n        26.12.2016 Zweiter Weihnachtsfeiertag\n\n\n    fmt.Println(Brandenburg(2016, false))\n    --\u003e Brandenburg (BB)\n        01.01.2016 Neujahr\n        25.03.2016 Karfreitag\n        28.03.2016 Ostermontag\n        01.05.2016 Tag der Arbeit\n        05.05.2016 Christi Himmelfahrt\n        16.05.2016 Pfingstmontag\n        03.10.2016 Tag der deutschen Einheit\n        31.10.2016 Reformationstag\n        25.12.2016 Weihnachten\n        26.12.2016 Zweiter Weihnachtsfeiertag\n\n\n## Command line tool\n\nA little command line tool is included as well. It can be compiled using `make buildcmd` or `go build cmd/feiertage/feiertage.go` This will create an executable `feiertage`.\n\nSee https://github.com/wlbr/feiertage/releases/latest for downloads.\n\n### Synopsis\n\n`feiertage: [options] year`\u003cbr\u003e\n\u003cdl\u003e\n\u003cdt\u003e-asTaskjugglerCode (default false)\u003c/dt\u003e\n\u003cdd\u003ePrint the result as valid source code (`leave x y`) for the \u003ca href=\"http://www.taskjuggler.org/\"\u003eTaskjuggler\u003c/a\u003e planning tool.\n\u003cdt\u003e-inklusiveSonntage (default false)\u003c/dt\u003e\n\u003cdd\u003eShould public holidays on a Sunday be included?\u003c/dd\u003e\n\u003cdt\u003e-region \u0026lt;regionstring\u0026gt; (default \"All\")\u003c/dt\u003e\n\u003cdd\u003eReturn public holidays for region `\u003cregionstring\u003e`.\u003cbr\u003e\n\u003cdd\u003e\u0026lt;regionstring\u0026gt; may be (case insensitive, plus some other tricks to make it more tolerant):\u003cbr\u003e\n\u0026nbsp;BadenWürttemberg\u003cbr\u003e\n\u0026nbsp;Bayern\u003cbr\u003e\n\u0026nbsp;Berlin\u003cbr\u003e\n\u0026nbsp;Brandenburg\u003cbr\u003e\n\u0026nbsp;Bremen\u003cbr\u003e\n\u0026nbsp;Hamburg\u003cbr\u003e\n\u0026nbsp;Hessen\u003cbr\u003e\n\u0026nbsp;MecklenburgVorpommern\u003cbr\u003e\n\u0026nbsp;Niedersachsen\u003cbr\u003e\n\u0026nbsp;NordrheinWestfalen\u003cbr\u003e\n\u0026nbsp;RheinlandPfalz\u003cbr\u003e\n\u0026nbsp;Saarland\u003cbr\u003e\n\u0026nbsp;Sachsen\u003cbr\u003e\n\u0026nbsp;SachsenAnhalt\u003cbr\u003e\n\u0026nbsp;SchleswigHolstein\u003cbr\u003e\n\u0026nbsp;Thüringen\u003cbr\u003e\n\u0026nbsp;Deutschland\u003cbr\u003e\n\u0026nbsp;Burgenland\u003cbr\u003e\n\u0026nbsp;Kärnten\u003cbr\u003e\n\u0026nbsp;Niederösterreich\u003cbr\u003e\n\u0026nbsp;Oberösterreich\u003cbr\u003e\n\u0026nbsp;Salzburg\u003cbr\u003e\n\u0026nbsp;Steiermark\u003cbr\u003e\n\u0026nbsp;Tirol\u003cbr\u003e\n\u0026nbsp;Vorarlberg\u003cbr\u003e\n\u0026nbsp;Wien\u003cbr\u003e\n\u0026nbsp;Österreich\u003cbr\u003e\n\u0026nbsp;All\u003c/dd\u003e\n\u003c/dl\u003e\n\n\n## Code\n* Documentation: https://godoc.org/github.com/wlbr/feiertage\n* Lint: http://go-lint.appspot.com/github.com/wlbr/feiertage\n* Continuous Integration: [![Travis Status](https://api.travis-ci.com/wlbr/feiertage.svg?branch=master)](https://travis-ci.com/wlbr/feiertage)\n* Test Coverage: [![Coverage Status](https://coveralls.io/repos/github/wlbr/feiertage/badge.svg?branch=master)](https://coveralls.io/github/wlbr/feiertage?branch=master)\n* Metrics: [![GoReportCard](https://goreportcard.com/badge/github.com/wlbr/feiertage)](https://goreportcard.com/report/github.com/wlbr/feiertage)\n","funding_links":["https://github.com/sponsors/wlbr"],"categories":["Date and Time","\u003cspan id=\"日期和时间-date-and-time\"\u003e日期和时间 Date and Time\u003c/span\u003e","日期和时间","日期和时间`用于处理日期和时间的库`","日期和時間","Relational Databases"],"sub_categories":["Search and Analytic Databases","Advanced Console UIs","\u003cspan id=\"高级控制台用户界面-advanced-console-uis\"\u003e高级控制台用户界面 Advanced Console UIs\u003c/span\u003e","检索及分析资料库","SQL 查询语句构建库","高级控制台界面","高級控制台界面"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwlbr%2Ffeiertage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwlbr%2Ffeiertage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwlbr%2Ffeiertage/lists"}