On Wed, Oct 27, 2021 at 4:28 PM Radu Berinde <r...@cockroachlabs.com> wrote:
>
> > The argument here
> is that a program would only call the UTC method if it wants to change
> the way that those conversions work, so it presumably cares about the
> wall time, not monotonic time.
>
> But in those contexts, the monotonic time wouldn't make a difference - so 
> what is the upside of stripping it? Are there cases I'm not seeing where the 
> mono time would interfere with these "standard" usage patterns?

That's true, keeping the monotonic time wouldn't make much difference.
Stripping it gives you consistent behavior with things like time.Sub,
but I agree that it's not a major point.  But I don't think we can
really change the behavior now.

Ian

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAOyqgcXeU1GbYwobdCtEwO6NzgaXKwVOaGTzw96ntU4zX%3DQE9w%40mail.gmail.com.

Reply via email to