aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2017-07-17 02:25:58 +0200
committerDimitri Sokolyuk <demon@dim13.org>2017-07-17 02:25:58 +0200
commit0984f30f10b5caaa54e3047aa99194478fb20a90 (patch)
treef682dd9121efe53aa85900f9a406dbf93d367ad7
parente053973af61ce8671185a4f3e8784f134e0acbc6 (diff)
time format
-rw-r--r--zhead/header.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/zhead/header.go b/zhead/header.go
index 2acad84..995f161 100644
--- a/zhead/header.go
+++ b/zhead/header.go
@@ -25,7 +25,7 @@ const (
)
func (h Header) Print(w io.Writer) error {
- fmt.Fprintf(w, "date=%v\n", h.Date.Format("2006-01-02T15:04:05Z07:00"))
+ fmt.Fprintf(w, "date=%v\n", h.Date.Format(time.RFC3339))
fmt.Fprintf(w, "key=%v\n", h.KeyFile)
fmt.Fprintf(w, "algorithm=%v\n", h.Alg)
fmt.Fprintf(w, "blocksize=%v\n", h.BlockSize)