News for hackers. Stuff that matters.
Re:Falsehoods programmers believe about time and time zones by timthorn on Sunday April 17, 2016 @05:31PM (#11516413)
My bete noir isn't in the list: GMT is only the UK timezone for about half the year. During the Summer, GMT continues to exist, but the UK time is BST.
Re:Falsehoods programmers believe about time and time zones by danbruc on Sunday April 17, 2016 @08:08PM (#11516965)
You are confusing two things. A time zone (e.g. Europe/London) is a geographical region of places always sharing the same time and it does not change at a given location unless time zones come and go. The zone time (e.g. GMT or BST) on the other hand is the time in use in a given time zone at a given point in time and it commonly changes twice a year between normal time and daylight saving time and back. In short, daylight saving time affects the zone time, not the time zone.
Re:Falsehoods programmers believe about time and time zones by timthorn on Monday April 18, 2016 @02:12AM (#11517986)
That's a fair comment, but my point still stands as when I get a meeting invite it usually states x:xx GMT rather than London time.
Re:Falsehoods programmers believe about time and time zones by laut on Sunday April 17, 2016 @11:33PM (#11517560)
You are right. I have heard that one before too. That one is sort of implicitly covered by this part in the blog post:

"CST is also used for: Cuba Summer Time, China Time, Central Standard Time (Australia). PST is used for Pakistan Standard Time and Pacific Standard Time. If you want a unique identifier for the time zone in the Pacific West of the USA it looks like this: “America/Los_Angeles”."

In this case the name of the time zone "people live in" is "Europe/London", not GMT.

Re:Falsehoods programmers believe about time and time zones by deathanatos on Sunday April 17, 2016 @06:59PM (#11516744)
The way I get around this in my head is that UK's timezone is "Europe/London". (my definition of "timezone" is "IANA timezone", so while "UTC" or "GMT" are both valid, they aren't what the UK uses.) The "GMT" or "BST" is just a locale-ish thing that gets tacked on to output, much like "EST" or "EDT" for "America/New_York".
Re:Falsehoods programmers believe about time and time zones by theoh on Sunday April 17, 2016 @06:16PM (#11516603)
But, as the Wikipedia page says "the term GMT should not be used for precise purposes" as it has been superseded by various other standards (e.g. UTC, UT1)

I've encountered English people who made a fuss about the loss of "God's Magnificent Time", but for better or worse GMT is no longer the official name.

Re:Falsehoods programmers believe about time and time zones by timthorn on Monday April 18, 2016 @01:20AM (#11517853)
Be that as it may, UK legislation uses GMT and not UTC. It is therefore the appropriate time to be using in software for UK citizens.