Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
An intuitive way to format date and time (golang.org)
4 points by dahlia on March 7, 2011 | hide | past | favorite | 1 comment


The format is intuitive to read, but I always find myself going here http://golang.org/src/pkg/time/format.go#L50 when I am writing a format string.

It's definitely an improvement over strftime because I need to lookup the escape codes when reading or writing a format string.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: