• Russ Cox's avatar
    time: clean up MarshalJSON, add RFC3339 method · 1d8250c8
    Russ Cox authored
    encoding/xml: handle time.Time as recognized type
    
    The long term plan is to define an interface that time.Time
    can implement and that encoding/xml can call, but we are
    not going to try to define that interface before Go 1.
    Instead, special-case time.Time in package xml, because
    it is such a fundamental type, as a stop-gap.
    The eventual methods will behave this way.
    
    Fixes #2793.
    
    R=golang-dev, r, r, n13m3y3r
    CC=golang-dev
    https://golang.org/cl/5634051
    1d8250c8
Name
Last commit
Last update
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
libmach Loading commit data...
pkg Loading commit data...
Make.dist Loading commit data...
all.bash Loading commit data...
all.bat Loading commit data...
clean.bash Loading commit data...
make.bash Loading commit data...
make.bat Loading commit data...
run.bash Loading commit data...
run.bat Loading commit data...
sudo.bash Loading commit data...