Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
EventGen
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
chaotikum
EventGen
Commits
984caee9
Commit
984caee9
authored
1 year ago
by
Lukas Ruge
Browse files
Options
Downloads
Patches
Plain Diff
fix for bits and bäume
parent
ee10bf85
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
main.py
+12
-12
12 additions, 12 deletions
main.py
with
12 additions
and
12 deletions
main.py
+
12
−
12
View file @
984caee9
...
...
@@ -4,34 +4,34 @@ import eventgenutils as utils
#################################################
# set true if you want to generate files for that event type
#################################################
OPENSPACE
=
Tru
e
OPENSPACE
=
Fals
e
# every wednesday 19:00 to 23:59:59 but not between (and including) 24.12 and 1.1
REINIGUNG
=
Tru
e
REINIGUNG
=
Fals
e
# wednesday from 09:00 to 18:00
PLENUM
=
Tru
e
PLENUM
=
Fals
e
# second thursday of the month, except in november, where it is the third
OSM
=
Tru
e
OSM
=
Fals
e
# vierter donnerstag in ungeraden monaten
SWK
=
False
# manchmal am 1. Donnerstag. Aber oft auch nicht.
BITSUNDBAEUME
=
Fals
e
# jeden zweiten Dienstag im Monat um 18:31...
ich vermute mal nicht im Januar?
FFHLORGA
=
Tru
e
BITSUNDBAEUME
=
Tru
e
# jeden zweiten Dienstag im Monat um 18:31...
FFHLORGA
=
Fals
e
# jeden dritten Donnerstag im Monat 19:00 bis 22:00 Uhr
NOOK
=
Tru
e
NOOK
=
Fals
e
# zweiter freitag im November (und der darauf folgende Samstag)
FUENF_MIN_TERMINE
=
Tru
e
FUENF_MIN_TERMINE
=
Fals
e
# Üblicherweise Zweiter Mittwoch im ersten Monat des Quartals
SOMMERFEST
=
False
# Üblicherweise der erste Samstag nach dem 10 Mai. 15:00 bis 23:59
TAG_DES_OFFENEN_HACKSPACES
=
False
# https://wiki.hackerspaces.org/International_Open_Hackerspace_Day
# The International Open Hackerspace Day is happening every last Saturday of March.
MOINC3
=
Tru
e
MOINC3
=
Fals
e
# Congress.
MAUS_TUEROEFFNER_TAG
=
False
# Der Maus Türöffner Tag ist immer am Tag der Deutschen Einheit
GETTING_SPACE_CLEAN
=
Tru
e
GETTING_SPACE_CLEAN
=
Fals
e
# Erster Montag des Monats, außer das ist der 01.01 oder 01.05, dann der zweite Montag dieser Monate
#################################################
...
...
@@ -73,7 +73,7 @@ def is_osm(_date_candidate):
def
is_bits_und_baeume
(
_date_candidate
):
if
not
utils
.
is_january
(
_date_candidate
)
and
utils
.
is_nth_tuesday_of_month
(
_date_candidate
,
1
):
if
utils
.
is_nth_tuesday_of_month
(
_date_candidate
,
2
):
return
True
return
False
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment