Use RFC3339 timestamps in the results

This commit is contained in:
Oliver Bristow
2016-11-14 19:10:58 +00:00
parent 6d82ad32a9
commit cda69dc7f0
4 changed files with 4 additions and 6 deletions

View File

@@ -31,8 +31,7 @@ import (
)
func ensureResultDir(scannedAt time.Time) (path string, err error) {
const timeLayout = "20060102_1504"
jsonDirName := scannedAt.Format(timeLayout)
jsonDirName := scannedAt.Format(time.RFC3339)
resultsDir := config.Conf.ResultsDir
if len(resultsDir) == 0 {