Now we don't need the –date-format flag for git fast-import.
2J4YY37DAVTCJJGWZFQ7PL4NBGW2LTBDA4I5CSY7SFPBG76AJI5QC
Y7VFVY6EMR7FMVCTPLBIYVRI2DJTOSUK7LSRRRIODT3G57FR7Z4QC
const timeFormat = "Mon Jan 2 15:04:05 2006 -0700"
func formatTime(t time.Time) string { return fmt.Sprintf("%d %s", t.Unix(), t.Format("-0700"))}
func formatTime(t time.Time) string {
return fmt.Sprintf("%d %s", t.Unix(), t.Format("-0700"))
}
fmt.Println("committer Andy Balholm <andy@balholm.com>", time.Now().Format(timeFormat))
fmt.Println("committer Andy Balholm <andy@balholm.com>", formatTime(time.Now()))