go/src/time
Hanjun Kim 8776be1535 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)

Change-Id: I886998380489862ab9a324a6774f2e4cf7124122
Reviewed-on: https://go-review.googlesource.com/78735
Run-TryBot: Rob Pike <r@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
2017-12-13 02:42:34 +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: add space padding layout strings(using underscore) for not only day but others 2017-12-13 02:42:34 +00:00
format_test.go time: add space padding layout strings(using underscore) for not only day but others 2017-12-13 02:42:34 +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 all: single space after period. 2016-03-02 00:13:47 +00:00
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 time: run genzabbrs.go to update zoneinfo_abbrs_windows.go 2017-06-13 07:12:32 +00:00
zoneinfo_android.go time: fix build on Android 2017-11-21 19:44:00 +00:00
zoneinfo_android_test.go time: load time zones from the system tzdata file on Android 2016-08-23 06:15:35 +00:00
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