In Django you have a TIME_ZONE setting, which, as I understand, somehow patches the standard date and time packages in runtime, making them think the application is working in the time zone specified. As a result, generic Python methods for determining local time zone do not work (they just show the configured time zone).
I can evaluate the link of /etc/localtime
like in this answer or use another Linux-specific method but I am concerned about the portability issue, as some developers run the app on Windows.
Can I find out in a platform independent way what was the original time zone on the machine?