]> Cypherpunks repositories - gostls13.git/commit
time: add Time.AppendFormat
authorCaleb Spare <cespare@gmail.com>
Thu, 18 Dec 2014 04:18:06 +0000 (17:18 +1300)
committerRob Pike <r@golang.org>
Fri, 10 Apr 2015 20:18:22 +0000 (20:18 +0000)
commit35bda67d87fa5a7f24313bcd1803bcc6834ac078
tree5739d08547ec27a3988e546d7a4aaccd87a78ca2
parent08c43488ee7a273ce41805b0bb2866507521d15c
time: add Time.AppendFormat

This is a version of Time.Format that doesn't require allocation.

This is an updated version of 0af302f50745b93e90a4507993a555d246acef45
submitted by @bradfitz which was later rolled back.

Fixes #5192
Updates #5195

Change-Id: I4e6255bee1cf3914a6cc8d9d2a881cfeb273c08e
Reviewed-on: https://go-review.googlesource.com/1760
Reviewed-by: Rob Pike <r@golang.org>
src/time/format.go