Comment 2 for bug 1197369

Revision history for this message
John A Meinel (jameinel) wrote :

If we want to preserve the existing format, this also works:

prefix = prefix + time.Now().Format("-20060102-150405")

http://play.golang.org/p/tzf_9lEcZx

I don't think the specific format matters, though. And I really don't understand why we don't just use ioutil.TempDir