On Tuesday, 1 March 2022 at 22:54:35 UTC carl...@gmail.com wrote:

> If I had running services written in Go, they would not be aware of the 
> timezone change.
>

I think the current behaviour is reasonable, because it's rare that a 
running, persistent *service* needs to know of a change of the *system* 
timezone.

If this is a web server interacting with a user, then either it should use 
the browser timezone, or have a user preference for timezone.  If it's 
writing log files then it should be using UTC or a chosen fixed timezone 
(otherwise there's ambiguity about what time events happened).  If it's 
talking to a database with date/time columns, the same applies.

-- 
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/7bc6b39e-9b60-4ae6-9df1-f8a2abceb0bcn%40googlegroups.com.

Reply via email to