I'm wondering what is wrong with "time" package Format() function? It's
behaviour goes beyond my comprehension:
func main() {
t := time.Now()
fmt.Println(t.Format("Jan 2, 2014"))
fmt.Println(t.Format("Jan 2, 2006"))
}
Produces:
Nov 10, 10110
Nov 10, 2009
(http://play.golang.org/p/guU4r3KMad)
Thank you in advance,
Alex
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.