• Rob Pike's avatar
    New time formatter, time.Format(formatString) · e05b381e
    Rob Pike authored
    The model is that formatString is a a representation of a standard time,
    and that Format converts the time to that representation.
    Standard representaitons are defined for ANSIC, RFC850, RFC1123, and ISO8601.
    There's also a humane Kitchen fomat: 3:04PM.
    
    R=rsc, benolive, cw
    CC=golang-dev
    https://golang.org/cl/181130
    e05b381e
time.go 5.17 KB