pidgin/pidgin

Fix gentoo-819774.
release-2.x.y
2022-01-24, Gary Kramlich
069808ff898f
Fix gentoo-819774.

I'm not sure if we needed the code that I duplicated but I really don't want to
rock the board anymore with this function. This causes all unit tests to pass
and everthing seems okay now?

Testing Done:
Ran the unit tests with TZ values of empty, `Asia/Kathmandu` and `Pacific/Auckland`.

Reviewed at https://reviews.imfreedom.org/r/1238/
How to build Pidgin for Windows using MinGW
===========================================
For the latest build instructions, please refer to:
http://developer.pidgin.im/wiki/BuildingWinPidgin