• Ian Lance Taylor's avatar
    time: revert CL 78735 (was: space padding using underscore) · 86cca11f
    Ian Lance Taylor authored
    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: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    Reviewed-by: 's avatarRob Pike <r@golang.org>
    86cca11f
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...