Skip to content

Commit defa52f

Browse files
committed
use RFC3339 for the generated timestamp
See https://pkg.go.dev/time#pkg-constants
1 parent 38a0f30 commit defa52f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

output/output.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ func YamlOutput(results github.GithubSearchResults, writer io.Writer, options to
125125
fmt.Fprintln(writer, "\nprivate_organizations:")
126126
outputOrganizations(topPrivate.TopOrgs(10))
127127

128-
fmt.Fprintf(writer, "generated: %+v\n", time.Now())
128+
fmt.Fprintf(writer, "generated: %+v\n", time.Now().Format(time.RFC3339))
129129
fmt.Fprintf(writer, "min_followers_required: %+v\n", results.MinimumFollowerCount)
130130
fmt.Fprintf(writer, "total_user_count: %+v\n", results.TotalUserCount)
131131

0 commit comments

Comments
 (0)