datetime: Use g_time_zone_new_identifier

g_time_zone_new() is deprecated in favour of g_time_zone_new_identifier().

g_time_zone_new_identifier() returns NULL if no matching identifier is
found, so warn and fallback to UTC in that case.
7 jobs for gbsneto/timezone in 2 minutes and 45 seconds (queued for 1 second)
latest
Status Job ID Name Coverage
  Build
passed #1172749
build

00:02:07

 
  Test
passed #1172750
test

00:00:38

 
  Manual
manual #1172752
asan allowed to fail manual
asan
manual #1172751
allowed to fail manual
flatpak
manual #1172755
allowed to fail manual
msan
manual #1172753
allowed to fail manual
tsan
manual #1172754
allowed to fail manual
ubsan