• Florian Uekermann's avatar
    time: return first error in unsuccessful calls to LoadLocation · 048de7b1
    Florian Uekermann authored
    Unsuccessful calls to LoadLocation previously returned the first
    error encountered while traversing the default list of sources, but
    ignored errors from sources specified by ZONEINFO. Whether errors
    indicating missing zones or sources were ignored in this process
    differed between kinds of sources.
    With this change, unsuccessful calls to LoadLocation always return
    the first error, not counting errors indicating missing zones or
    sources.
    
    Change-Id: Ief2c088f1df53d974b837e6565e784c2b9928ef4
    Reviewed-on: https://go-review.googlesource.com/c/81595
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    048de7b1
Name
Last commit
Last update
..
example_test.go Loading commit data...
export_android_test.go Loading commit data...
export_test.go Loading commit data...
export_windows_test.go Loading commit data...
format.go Loading commit data...
format_test.go Loading commit data...
genzabbrs.go Loading commit data...
internal_test.go Loading commit data...
mono_test.go Loading commit data...
sleep.go Loading commit data...
sleep_test.go Loading commit data...
sys_plan9.go Loading commit data...
sys_unix.go Loading commit data...
sys_windows.go Loading commit data...
tick.go Loading commit data...
tick_test.go Loading commit data...
time.go Loading commit data...
time_test.go Loading commit data...
zoneinfo.go Loading commit data...
zoneinfo_abbrs_windows.go Loading commit data...
zoneinfo_android.go Loading commit data...
zoneinfo_android_test.go Loading commit data...
zoneinfo_ios.go Loading commit data...
zoneinfo_plan9.go Loading commit data...
zoneinfo_read.go Loading commit data...
zoneinfo_test.go Loading commit data...
zoneinfo_unix.go Loading commit data...
zoneinfo_windows.go Loading commit data...
zoneinfo_windows_test.go Loading commit data...