gtimezone: Add new constructor which can report errors

Add a new variant of g_time_zone_new() which returns NULL on failure to load a timezone, rather than silently returning UTC.

Signed-off-by: Philip Withnall pwithnall@endlessos.org

Fixes: #553 (closed)

Merge request reports

Loading