Timezone converter to help organise events
Go to file
2025-03-06 23:35:56 +11:00
.gitea/workflows Initial commit 2025-03-06 14:27:02 +11:00
templates fix: Update value to content 2025-03-06 23:35:56 +11:00
.gitignore Initial commit 2025-03-06 14:27:02 +11:00
Dockerfile Initial commit 2025-03-06 14:27:02 +11:00
LICENSE Initial commit 2025-03-06 14:27:02 +11:00
main.py Initial commit 2025-03-06 14:27:02 +11:00
README.md feat: Add intial site 2025-03-06 15:15:24 +11:00
requirements.txt feat: Add og images 2025-03-06 23:21:35 +11:00
server.py fix: Make font a bit smaller 2025-03-06 23:33:37 +11:00

python-webserver-template

Python3 website template including git actions

Example curl Commands

Convert Specific Time Between Two Timezones

curl -X POST http://localhost:5000/api/v1/convert -H "Content-Type: application/json" -d '{
  "from_tz": "Australia/Sydney",
  "to_tz": "UTC",
  "time": "2023-10-10T15:00:00"
}'

Convert Specific Time Between Multiple Timezones

curl -X POST http://localhost:5000/api/v1/convert_multiple -H "Content-Type: application/json" -d '{
  "from_tz": "Australia/Sydney",
  "time": "2023-10-10T15:00:00",
  "to_tzs": ["UTC", "America/New_York", "Europe/London"]
}'