Commits

Miki Tebeka committed f111eee

better doc

Comments (0)

Files changed (1)

 	return t.Format(format)
 }
 
-// Format return strings with % directives are expand
+// Format return string with % directives expanded.
+// Will return error on unknown directive.
 func Format(format string, t time.Time) (result string, err error) {
 	defer func() {
 		if e := recover(); e != nil {