Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 380 Bytes

timezone.md

File metadata and controls

7 lines (5 loc) · 380 Bytes

TimezoneMiddleware +

Django middleware that gets the timezone of the request. Since Django can't automatically detect what the user's timezone is, I had the idea of saving the user's timezone in a cookie with JS on the landing page.

Source