diff --git a/scripts/config.py b/scripts/config.py index 3db98e0..97d59c2 100644 --- a/scripts/config.py +++ b/scripts/config.py @@ -16,3 +16,4 @@ CURRENT_COURSE_ROOT = CURRENT_COURSE_SYMLINK.resolve() CURRENT_COURSE_WATCH_FILE = Path('/tmp/current_course').resolve() ROOT = Path('~/Documents/Kulak/bachelor_3/semester_2').expanduser() DATE_FORMAT = '%a %d %b %Y %H:%M' +LOCALE = "de_DE.utf8" diff --git a/scripts/lectures.py b/scripts/lectures.py index b583df4..b1ea912 100755 --- a/scripts/lectures.py +++ b/scripts/lectures.py @@ -8,10 +8,10 @@ import re import subprocess -from config import get_week, DATE_FORMAT, CURRENT_COURSE_ROOT +from config import get_week, DATE_FORMAT, CURRENT_COURSE_ROOT, LOCALE # TODO -locale.setlocale(locale.LC_TIME, "nl_BE.utf8") +locale.setlocale(locale.LC_TIME, LOCALE) def number2filename(n):