5
Russian
8y

When the framework you're using decides to work in UTC after 5 years of using default system timezone. And instead of giving you the option to change timezone, hardcore enforces it by:

os.environ['TZ'] = 'UTC'
time.tzset()

For people who don't know python.. It basically tells your code that your system time is set to UTC (ingnoring the right timezone)

Now we get one bug after another because of this undocumented shitty change without changes in how time fields behave in different client timezones.
😒🔫

(Don't get me wrong, using UTC is logical however not in an existening application and forcing devs to rewrite all code that handles time fields)

Comments
Add Comment