Merge pull request #128 from abperiasamy/utc_offset

remove utc offset while listing
This commit is contained in:
Anand Babu (AB) Periasamy
2015-03-15 16:58:25 -07:00
+3 -3
View File
@@ -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)
}