Eric,

The fmt package verb %v  is the value in a default format, typically the 
String method for the type.

func (Time) String 

func (t Time) String() string

String returns the time formatted using the format string

"2006-01-02 15:04:05.999999999 -0700 MST"

The returned string is meant for debugging.

See https://golang.org/pkg/time/#Time.String

Peter

On Wednesday, August 29, 2018 at 7:57:04 AM UTC-4, Eric Raymond wrote:
>
> The attached program emits 
>
> go1.10.1: value '2010-10-27 18:43:32 +0000 +0000' error <nil>
>
> on my system.  Note the duplicated zone field. Is this expected?
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to