Re: [go-nuts] how can I convert from monotonic clock to wall clock?

2018-02-04 Thread Murat Cetin
Thanks much! I indeed ended up using time.Format. On Sun, Feb 4, 2018 at 12:17 PM, Axel Wagner wrote: > The best way is to use time.Format with a format of your choosing; if you > need to control the way a time is printed, actually control it :) > That being said, the documentation of the time p

Re: [go-nuts] how can I convert from monotonic clock to wall clock?

2018-02-04 Thread 'Axel Wagner' via golang-nuts
The best way is to use time.Format with a format of your choosing; if you need to control the way a time is printed, actually control it :) That being said, the documentation of the time package says The canonical way to strip a monotonic clock reading is to use t = > t.Round(0). i.e. https://p

[go-nuts] how can I convert from monotonic clock to wall clock?

2018-02-04 Thread Murat Cetin
When I call time.Now().String() I get the following 2009-11-10 23:00:00 + UTC* m=+0.1* How can I remove the part with *m=+0.1?* Thanks, Murat -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group an

[go-nuts] Re: net.Pipe doesn't support deadlines

2018-02-04 Thread Juliusz Chroboczek
> Which version of Go are you using? 1.9.3. > https://github.com/golang/go/blob/master/src/net/pipe.go#L224 Excellent, thanks. (In case anyone is interested -- wrapping net.Pipe in order to avoid the errors took all of five minutes.) -- You received this message because you are subscribed to