Hi guys!
I am working in a small app in the Google App Engine (Python), which uses the Google Data API in order to create a new calendar in a Google account and populate it with some events.
The events that I am using are parsed from another place, and they have the date in the Europe/Stockholm timezone, (I think it is CEST or CET).
Therefore, first I create a Python struct_time with (for example) this:
start = strptime("2009-11-16 10:15", "%Y-%m-%d %H:%M")
Python's doc says that there I could use the flag %Z in order to specify the timezone, and in fact it works in my Python interpreter... but it totally fails in the Google App Engine server (both localhost and deploy). It is something not new, as I have seen here.
Since I am using the Google Data API, and it needs the times in UTC/GMT format, I need a way to convert from the Europe/Stockholm local time to the UTC/GMT, without use the %Z flag in strptime ... (and something more smart than just subtract one hour to each date...)
Thank you in advance one more time :)