mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-28 11:46:20 -04:00
prettydate
Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
parent
72646b8d5f
commit
31494fe9de
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ func createStaticIndex(r *registry.Registry, staticDir string) error {
|
|||
if err := json.Unmarshal([]byte(h.V1Compatibility), &comp); err != nil {
|
||||
return fmt.Errorf("unmarshal v1compatibility failed: %v", err)
|
||||
}
|
||||
createdDate = comp.Created.Format(time.RFC1123)
|
||||
createdDate = comp.Created.String()
|
||||
break
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue