diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2021-04-27 17:27:01 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2021-04-27 17:27:01 +0200 |
commit | b94f2da7ff040a91eb9fd5b6b1eba64b997954fa (patch) | |
tree | 36ba0d622c11c3946b14d0eab2ed4c2795e290b3 /skate/cmd/skate-bref-id | |
parent | 320e053303f06b363af7f1f8e3e85c4979afd17d (diff) | |
download | refcat-b94f2da7ff040a91eb9fd5b6b1eba64b997954fa.tar.gz refcat-b94f2da7ff040a91eb9fd5b6b1eba64b997954fa.zip |
make ts a string
Diffstat (limited to 'skate/cmd/skate-bref-id')
-rw-r--r-- | skate/cmd/skate-bref-id/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/skate/cmd/skate-bref-id/main.go b/skate/cmd/skate-bref-id/main.go index fd2431d..c4bdb91 100644 --- a/skate/cmd/skate-bref-id/main.go +++ b/skate/cmd/skate-bref-id/main.go @@ -28,7 +28,7 @@ func main() { return nil, err } bref.Key = fmt.Sprintf("%s_%d", bref.SourceReleaseIdent, bref.RefIndex) - bref.IndexedTs = time.Now().Unix() + bref.IndexedTs = time.Now().Format(time.RFC3339) b, err := json.Marshal(bref) b = append(b, newlineB...) return b, err |