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
e9e4d31c
Commit
e9e4d31c
authored
1 year ago
by
Lukas Ruge
Browse files
Options
Downloads
Patches
Plain Diff
more stuff
parent
6867746f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
eventgenutils.py
+1
-1
1 addition, 1 deletion
eventgenutils.py
main.py
+10
-8
10 additions, 8 deletions
main.py
with
11 additions
and
9 deletions
eventgenutils.py
+
1
−
1
View file @
e9e4d31c
...
...
@@ -176,7 +176,7 @@ def modify_template(_template, _start, _end):
def
get_filename
(
_start
,
_name
):
return
_start
.
strftime
(
"
%Y
-
%m
-
%d
"
)
+
"
-
"
+
_name
+
"
.markdown
"
return
_start
.
strftime
(
"
%Y%m%d
"
)
+
"
-
"
+
_name
+
"
.markdown
"
def
create_event
(
_name
,
_date
,
start_hour
=
00
,
start_minute
=
00
,
end_hour
=
23
,
end_minute
=
59
,
add_days
=
0
):
...
...
This diff is collapsed.
Click to expand it.
main.py
+
10
−
8
View file @
e9e4d31c
...
...
@@ -4,19 +4,21 @@ import eventgenutils as utils
#################################################
# set true if you want to generate files for that event type
#################################################
OPENSPACE
=
Fals
e
OPENSPACE
=
Tru
e
# every wednesday 19:00 to 23:59:59 but not between (and including) 24.12 and 1.1
REINIGUNG
=
Fals
e
REINIGUNG
=
Tru
e
# wednesday from 09:00 to 18:00
PLENUM
=
Fals
e
PLENUM
=
Tru
e
# second thursday of the month, except in november, where it is the third
OSM
=
Fals
e
OSM
=
Tru
e
# vierter donnerstag in ungeraden monaten
SWK
=
False
# manchmal am 1. Donnerstag. Aber oft auch nicht.
BITSUNDBAEUME
=
False
# jeden zweiten Dienstag im Monat um 18:31... ich vermute mal nicht im Januar?
FFHLORGA
=
Fals
e
FFHLORGA
=
Tru
e
# jeden dritten Donnerstag im Monat 19:00 bis 22:00 Uhr
NOOK
=
Fals
e
NOOK
=
Tru
e
# zweiter freitag im November (und der darauf folgende Samstag)
FUENF_MIN_TERMINE
=
True
# Üblicherweise Zweiter Mittwoch im ersten Monat des Quartals
...
...
@@ -25,11 +27,11 @@ SOMMERFEST = False
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
=
Fals
e
MOINC3
=
Tru
e
# Congress.
MAUS_TUEROEFFNER_TAG
=
False
# Der Maus Türöffner Tag ist immer am Tag der Deutschen Einheit
GETTING_SPACE_CLEAN
=
Fals
e
GETTING_SPACE_CLEAN
=
Tru
e
# Erster Montag des Monats, außer das ist der 01.01 oder 01.05, dann der zweite Montag dieser Monate
#################################################
...
...
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