A lightweight web service to fix timezone issues in .ics calendar files (from Outlook, Office365, etc.) so Google Calendar and other apps display event times correctly.
- Accepts a public
.icscalendar URL and injects missing timezone definitions. - Ensures compatibility with Google Calendar and other calendar apps.
- Fast, privacy-friendly (no data stored).
- Modern, user-friendly web interface.
- CORS enabled for easy integration.
- Clone the repository:
git clone https://github.com/maiiku/ics-timezone-fix.git cd ics-timezone-fix - Create and activate a virtual environment:
python3 -m venv venv source venv/bin/activate - Install dependencies:
pip install -r requirements.txt
- Run the app:
python3 app.py
- Open in your browser: Go to http://127.0.0.1:8000/
- Instructions page: Open the app in your browser with no parameters to see friendly usage instructions.
- Fix a calendar:
Add your
.icsfile URL as a query parameter, e.g.:http://127.0.0.1:8000/?ics_url=https://example.com/calendar.ics - The app will return a fixed
.icsfile for download.
https://your-server.com/?ics_url=https://original-calendar-url.ics
This project is licensed under the GNU General Public License v3.0. See LICENSE for details.