go/src/time
Ian Lance Taylor 86cca11ffd time: revert CL 78735 (was: space padding using underscore)
CL 78735 description:

    time: add space padding layout strings(using underscore) for not only day but others

    As mentioned in #22802, only day component of layout string has space
    padding(represented by one underscore before its placeholder). This
    commit expands the rule for month, hour, minute and second.

    Updates #22802 (maybe fixes it)

Revert this CL because it breaks currently working formats that happen
to use underscores.

Fixes #23259

Change-Id: I64acaaca9b5b74785ee0f0be7910574e87daa649
Reviewed-on: https://go-review.googlesource.com/85998
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
2018-01-03 20:50:44 +00:00
..
example_test.go time: condense, expand Time.Unix example 2017-12-06 03:57:37 +00:00
export_android_test.go time: reduce OS dependent timezone related code 2017-09-27 14:14:45 +00:00
export_test.go time: enable Location loading from user provided timezone data 2017-11-21 19:13:52 +00:00
export_windows_test.go time: reduce OS dependent timezone related code 2017-09-27 14:14:45 +00:00
format.go time: revert CL 78735 (was: space padding using underscore) 2018-01-03 20:50:44 +00:00
format_test.go time: revert CL 78735 (was: space padding using underscore) 2018-01-03 20:50:44 +00:00
genzabbrs.go all: use sort.Slice in a few more places 2017-09-22 12:39:14 +00:00
internal_test.go time: enable Location loading from user provided timezone data 2017-11-21 19:13:52 +00:00
mono_test.go all: revert "all: prefer strings.LastIndexByte over strings.LastIndex" 2017-10-05 23:19:42 +00:00
sleep.go runtime: improve timers scalability on multi-CPU systems 2017-09-12 16:52:23 +00:00
sleep_test.go Revert "go/printer: forbid empty line before first comment in block" 2017-12-01 01:12:26 +00:00
sys_plan9.go time: unify three readFile implementations into one 2017-09-27 14:29:31 +00:00
sys_unix.go time: unify three readFile implementations into one 2017-09-27 14:29:31 +00:00
sys_windows.go time: unify three readFile implementations into one 2017-09-27 14:29:31 +00:00
tick.go
tick_test.go runtime: return deltimer early if timer.timersBucket is unset 2017-09-15 19:55:10 +00:00
time.go time: fix typo in doc 2017-11-19 03:17:25 +00:00
time_test.go time: fix grammar/spelling errors in test comment 2017-08-21 17:52:45 +00:00
zoneinfo.go time: enable Location loading from user provided timezone data 2017-11-21 19:13:52 +00:00
zoneinfo_abbrs_windows.go
zoneinfo_android.go time: fix build on Android 2017-11-21 19:44:00 +00:00
zoneinfo_android_test.go
zoneinfo_ios.go time: reduce OS dependent timezone related code 2017-09-27 14:14:45 +00:00
zoneinfo_plan9.go time: reduce OS dependent timezone related code 2017-09-27 14:14:45 +00:00
zoneinfo_read.go time: enable Location loading from user provided timezone data 2017-11-21 19:13:52 +00:00
zoneinfo_test.go time: rename TestLoadLocationFromTzinfo to TestLoadLocationFromTZData 2017-11-21 21:13:15 +00:00
zoneinfo_unix.go time: reduce OS dependent timezone related code 2017-09-27 14:14:45 +00:00
zoneinfo_windows.go time: reduce OS dependent timezone related code 2017-09-27 14:14:45 +00:00
zoneinfo_windows_test.go time: reduce OS dependent timezone related code 2017-09-27 14:14:45 +00:00