Skip to content

Commit

Permalink
added locale
Browse files Browse the repository at this point in the history
  • Loading branch information
philippspinnler committed Sep 18, 2024
1 parent 4779cfb commit 7ebe48a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/plugins/ical.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import httpx
import locale

# import locale
from datetime import datetime, timedelta, time

from icalendar import Calendar
Expand All @@ -8,7 +9,7 @@
from app import config

local_time_zone = pytz.timezone("Europe/Zurich")
locale.setlocale(locale.LC_TIME, "de_CH.UTF-8")
# locale.setlocale(locale.LC_TIME, "de_CH.UTF-8")


def parse_webcal(url):
Expand Down

0 comments on commit 7ebe48a

Please sign in to comment.