diff --git a/TDL.go b/TDL.go index d6861bf..f469b34 100644 --- a/TDL.go +++ b/TDL.go @@ -30,7 +30,7 @@ func outfile(infile string) io.Writer { basename := path.Base(infile) extension := path.Ext(basename) basename = strings.TrimSuffix(basename, extension) - name := basename + time.Now().Format(STAMP_FORMAT) + ".txt" + name := basename + "-" + time.Now().Format(STAMP_FORMAT) + ".txt" f, err := os.OpenFile(name, os.O_CREATE|os.O_WRONLY, 0644) if err != nil { fmt.Fprintln(os.Stderr, err)