• Chun-wei Fan's avatar
    gtimezone.c: Fix identifier assignment on Windows · f24444c5
    Chun-wei Fan authored
    On Windows, we may be using the US DST boundaries by using the default
    "Pacific Standard Time" for rules_from_windows_time_zone() in
    rules_from_identifier().  This has the unfortunate side-effect of
    hardcoding the out_identifier to "Pacific Standard Time", which is
    likely not what we want.
    
    Instead, upon retrieving the items successfully using
    rules_from_windows_time_zone ("Pacific Standard Time", ...), we just
    set the out_identifier to whatever identifier that was passed into
    rules_from_identifier().
    f24444c5
gtimezone.c 59.2 KB