Re: [go-nuts] Error: Time function with non-usual compositions

2017-07-22 Thread Sergio Ramos
Thanks Ian, I saw my mistake now. Obter o Outlook para Android<https://aka.ms/ghei36> From: Ian Lance Taylor Sent: Saturday, July 22, 2017 2:16:37 PM To: SerginRamos Cc: golang-nuts Subject: Re: [go-nuts] Error: Time function with non-usual compositions

Re: [go-nuts] Error: Time function with non-usual compositions

2017-07-22 Thread Ian Lance Taylor
On Sat, Jul 22, 2017 at 5:54 AM, SerginRamos wrote: > > When reading the Time.go function, I found this non-usual code: > > Time.go: Line: 116-124 > > // String returns the English name of the month ("January", "February", > ...). > func (m Month) String() string { > if January <= m && m <= Decemb

[go-nuts] Error: Time function with non-usual compositions

2017-07-22 Thread SerginRamos
When reading the Time.go function, I found this non-usual code: Time.go: Line: 116-124 // String returns the English name of the month ("January", "February", ...). func (m Month) String() string { if January <= m && m <= December { return months[m-1] } buf := make([]byte, 20) n := fmtInt(buf, u