go/src/net/mail
Ian Lance Taylor 2018b68a65 net/mail: don't use MDT in test
When time.Parse sees a timezone name that matches the local timezone,
it uses the local timezone. The tests weren't expecting that,
so using MDT broke with TZ=America/Boise (where MDT means Mountain
Daylight Time). Just use GMT instead.

Fixes #43354

Change-Id: Ida70c8c867e2568b1535d1dfbf1fb0ed9e0e5c1e
Reviewed-on: https://go-review.googlesource.com/c/go/+/280072
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
2020-12-25 23:54:24 +00:00
..
example_test.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
message.go net/mail: avoid ParseDate confusion if day name includes "T" 2020-11-05 02:48:05 +00:00
message_test.go net/mail: don't use MDT in test 2020-12-25 23:54:24 +00:00