From f49582d9c8924776fb8ff2fc09fbfe273f73febe Mon Sep 17 00:00:00 2001 From: "Anand Babu (AB) Periasamy" Date: Sun, 15 Mar 2015 16:56:24 -0700 Subject: [PATCH] remove utc offset while listing --- cmd-ls.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd-ls.go b/cmd-ls.go index 21c2eb14..25256711 100644 --- a/cmd-ls.go +++ b/cmd-ls.go @@ -27,12 +27,12 @@ import ( ) const ( - printDate = "2006-01-02 15:04:05 -0700 MST" + printDate = "2006-01-02 15:04:05 MST" ) func printBuckets(v []*s3.Bucket) { for _, b := range v { - msg := fmt.Sprintf("%29s %13s %s", b.CreationDate.Local().Format(printDate), "", b.Name) + msg := fmt.Sprintf("%23s %13s %s", b.CreationDate.Local().Format(printDate), "", b.Name) info(msg) } } @@ -47,7 +47,7 @@ func printObjects(v []*s3.Item) { } func printObject(date time.Time, v int64, key string) { - msg := fmt.Sprintf("%29s %13s %s", date.Local().Format(printDate), pb.FormatBytes(v), key) + msg := fmt.Sprintf("%23s %13s %s", date.Local().Format(printDate), pb.FormatBytes(v), key) info(msg) }