gtimezone: Cache timezones based on the identifier they were created by
Rather than invalidating the cache by comparing TZ
to the cached
timezone identifier, key entirely off the value of TZ
(and a cached
copy of it).
This fixes the timezone cache being constantly invalidated if TZ
is
NULL
(which will always differ from the identifier of the default
local timezone which is constructed from g_time_zone_new (NULL)
.
Signed-off-by: Philip Withnall pwithnall@endlessos.org
Fixes: #2204 (closed)
Edited by Philip Withnall