go/src
Alberto Donizetti 193eda7291 time: skip ZoneAbbr test in timezones with no abbreviation
The testZoneAbbr assumes that

  Parse(RFC1123, t1.Format(RFC1123))

will always succeed. This is not true because Format will fall back to
the numeric zone (ex. -07) for timezones with no abbreviation, but
Parse won't accept the numeric zone when the layout specifies 'MST'
(an abbreviation).

Skip the zone abbreviation test in timezones with no abbreviation.

Fixes #21183

Change-Id: If04691cc23ae1075d8a953733024e17f5a7646de
Reviewed-on: https://go-review.googlesource.com/52430
Run-TryBot: Alberto Donizetti <alb.donizetti@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-08-02 16:22:49 +00:00
..
archive archive/zip: remove an out of date TODO 2017-07-15 21:14:01 +00:00
bufio Revert "bufio: make Reader.Peek invalidate Unreads" 2017-07-06 03:06:44 +00:00
builtin
bytes bytes: add example for (*Buffer).Grow 2017-07-16 03:49:43 +00:00
cmd cmd/go: show examples with empty output in go test -list 2017-08-02 14:30:08 +00:00
compress
container
context
crypto crypto/x509: load all trusted certs on darwin (nocgo) 2017-07-14 18:47:10 +00:00
database/sql database/sql: fix wrong method name in description 2017-07-18 04:42:09 +00:00
debug
encoding encoding/json: ignore embedded fields of pointers to unexported non-structs 2017-07-22 01:29:58 +00:00
errors
expvar
flag
fmt
go ast: make ExampleCommentMap a runnable example 2017-07-16 01:43:40 +00:00
hash all: gofmt 2017-06-21 03:14:30 +00:00
html html/template: use the same escaper across multiple template executions 2017-07-14 18:19:04 +00:00
image image/gif: fix writeImageBlock with SubImages 2017-06-16 05:45:48 +00:00
index/suffixarray
internal internal/poll: don't wait for unpollable files 2017-07-14 04:03:31 +00:00
io io/ioutil: add example for ReadFile 2017-07-15 23:28:44 +00:00
log log: adds a Logger Output method Example 2017-07-16 03:57:11 +00:00
math math/bits: add examples for leading zero methods 2017-07-15 21:55:58 +00:00
mime
net net/http: document that after Hijack, Request.Body is invalid 2017-07-21 18:55:41 +00:00
os os: remove duplicate check from windows os.Stat 2017-07-20 07:43:15 +00:00
path path/filepath: fix TestGlobError 2017-06-15 21:53:23 +00:00
plugin plugin: mention that there are known bugs with plugins 2017-07-28 00:29:08 +00:00
reflect reflect: make StructOf panic for methods that don't work 2017-07-15 00:47:41 +00:00
regexp regexp: example for MatchString function 2017-07-15 21:13:35 +00:00
runtime runtime: map bitmap and spans during heap initialization 2017-07-31 16:52:36 +00:00
sort sort: add example for Strings 2017-07-15 23:17:23 +00:00
strconv strconv: apply Brad's review comment 2017-07-17 16:32:05 +00:00
strings strings: add a example for TrimFunc 2017-07-15 21:14:22 +00:00
sync sync: delete a sentence from the Map docs 2017-07-21 22:00:47 +00:00
syscall syscall: update check for UserNS support for centos 7 2017-07-17 18:18:08 +00:00
testing cmd/go: show examples with empty output in go test -list 2017-08-02 14:30:08 +00:00
text
time time: skip ZoneAbbr test in timezones with no abbreviation 2017-08-02 16:22:49 +00:00
unicode unicode: move scripts from FoldCategories to FoldScripts 2017-06-15 01:05:31 +00:00
unsafe
vendor/golang_org/x
Make.dist
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash
make.bat
make.rc
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc