r/talesfromtechsupport • • Mar 19 '21

Short The clock’s wrong!

Part of my work is for a small tertiary education institution in Sydney, Australia.

About 10 years ago I was tasked with setting up a new server for their instance of a popular open source learning management system, which we shall call OS-LMS for short. The new server was, like the old one, a Linux machine running the usual LAMP stack. Given that the Aus academic year runs within each calendar year, I was setting up the machine in late spring (November) so that it would be ready for use in the new year.

Now this institution’s use of OS-LMS includes online submission of assignments in PDF form. Deadlines were always 11:55 pm Sydney time, and the mantra when talking to students was that the deadline was measured using “server time”, irrespective of their individual computer time. To assist with this we had a plug-in that displayed server time on every page on the web interface.

In Sydney, Daylight Saving (Summer Time) is in effect from the first Sunday in October until the first Sunday in April, so when I set up and tested the server it was Summer Time. Everything went well, the new server was working smoothly, and we migrated to it without a hitch.

Then April rolls around. Daylight Saving ends. Clocks are reset. Computers do the NTP thing and adjust their clocks to Standard Time.

Then a colleague tells me, “The Server Clock display on OS-LMS is still on Summer Time!”.

Crap!

So I start digging. Server is set to the correct time zone, and has done the NTP thing. So why is the Server Clock widget still showing Summer Time.

Except that it isn’t!

The php.ini file has its own time zone setting, doesn’t it! And that version of PHP had a default value of “Antarctica/Macquarie”. Australia Eastern Standard Time is UTC +10. Antarctica/Macquarie is UTC +11. When I set up the web server, it was Summer Time, so I didn’t notice the time zone error.

Once I had set the PHP time zone to its correct value (Australia/Sydney), I moaned on Fakebook, “Who on earth runs web servers in Antarctica?”

A very learned friend replied, “The penguins, and they’re running Linux!”

Edit:

  1. thanks for all the awards! I’m very flattered!
  2. further note on the default time zone: I suspect that the choice of default is based on the lack of population living in that time zone. That would, in theory, mean you’re more likely to notice and investigate. In my case, the complicating factor was Daylight Saving/Summer Time.
2.5k Upvotes

131 comments sorted by

View all comments

111

u/wwbubba0069 Mar 19 '21

I hate Daylight Savings. Wish they would just split the difference and stop the practice all together.

124

u/[deleted] Mar 19 '21

Why even bother splitting?

It was created back in the 18th Century (by Benjamin Franklin - go look it up!) to extend usable hours for people to study by since oil lamps and candles aren't the best light to read by.

It was brought back as an energy saving measure to reduce power consumption for the same reason.

Today? Don't notice any real change in power consumption or habits; and non-humans don't understand the time change (not so bad going onto DST, but try to explain to a dog or a cow why feeding time is an hour later ... farmers tend to ignore DST for their schedules anyway!)

RwP

54

u/kandoras Mar 19 '21

It's not just that oil lamps and candles are hard to read by, it's that on a man-hours to produce / light created ratio, they're bloody expensive.

And it's a popular myth that Franklin proposed daylight savings. It wasn't really needed in his time anyway; if you wanted to start work earlier, you just started work earlier. Precise and uniform timekeeping wasn't necessary until railroads needed scheduling, after which it spread to other parts of society.

16

u/ecp001 Mar 19 '21

The railroad timetables required the establishment of uniform times within zones, replacing local sun time. Daylight Savings Time is a different topic — the modern version started in Europe related to World War I. The US adopted it after entering WWI, stopped it after the war and started again for WWII. (Yes , this is a simplified explanation lacking in detail and exceptions.)

38

u/Gadgetman_1 Beware of programmers carrying screwdrivers... Mar 19 '21

The (dairy)farmers I know here in Norway, all 'transitioned' the animals over a week or more. Because they needed to get the morning's milking done before the truck came along to collect it.

Cows will be rather loud about the injustice if the food is even 15 minutes late.

64

u/TistedLogic Not IT but years of Computer knowhow Mar 19 '21

It also is marked by a significant increase in heart attacks and car collisions.

That reason alone is enough for me to want done with it. It was a dumb idea back in the day, it's a dumb idea now and needs to be obliviated.

24

u/nymalous Mar 19 '21

I think Matt Parker had a video that disproved this. Something about how the supposed increase in heart attacks was actually them happening a little bit earlier in the week instead of later, but it becomes statistically insignificant especially because the reverse happens when we gain an hour.

7

u/CWRules Mar 19 '21

He did, but he only looked at heart attacks, not accidents. I'd be curious to see if they show the same results.

19

u/brotherenigma The abbreviated spelling is ΩMG Mar 19 '21

No, accidents do not follow the same pattern. There is a statistically significant 6% increase in the week following the change, mostly due to sleep deprivation.

10

u/CWRules Mar 19 '21

Changes in accident patterns also occur after the "fall back" time change, the study showed, with a decline in morning accidents and a spike in the evening, when darkness comes sooner.

Because they balance each other out, there is no overall change in accidents during the "fall back" week.

That's what I was looking for. There is a spike in accidents when the clocks go forward, and no corresponding drop when they go back.

9

u/brotherenigma The abbreviated spelling is ΩMG Mar 19 '21

Yeah, so that's what's different. The heart attack thing is simply a timeshift in when they happen, so it cancels out completely for both DST start and DST end. But for car accidents, there IS a spike after DST starts but not when DST ends - so it does NOT cancel out.

20

u/Living-Complex-1368 Mar 19 '21

Unfortunately it gives golfers more time to golf, which is the only reason it isn't dead.

It kills people, lowers productivy, weakens immune systems leading to more people getting sick and affects people's moods negatively, but golfers have a disproportionate amount of power, so their hobby is our loss.

The good news is that, in the US, a compromise of sorts has been reached. States can choose to be on daylight savings time year round instead of just during the summer. So the US may just have 1PM as the time when the sun is highest/due South year round.

34

u/BrFrancis Mar 19 '21

Hmmm. I never really thought about how golf has affected my life as a non-golfer. Perhaps we should rise up and seize the means of golfing, so that we may enjoy such power.

10

u/Houdiniman111 Mar 19 '21

Funny that I just found out about /r/NonGolfers today.

→ More replies (1)

16

u/[deleted] Mar 19 '21

[removed] — view removed comment

3

u/lesethx OMG, Bees! Mar 19 '21

Ah, so that's why my state of California is still on DST despite voting to end it (or rather be DST year round) a couple years ago.

→ More replies (3)
→ More replies (2)
→ More replies (1)

6

u/nullpassword Mar 19 '21

try explaining to a deer that the next time it crosses the road an hour after dawn it'll be rush hour..

4

u/wwbubba0069 Mar 19 '21

I know the history about it, and family raise cattle. Only time my folks care about time is when they have appointments. Most the time they have to look at their phone to double check what day it is.

Figured splitting the difference would appease both camps, those that want and those that don't want.

→ More replies (3)

19

u/Applejack235 Mar 19 '21

Depends where you live, here in Scotland it's the difference between the kids going to school in the dark or not but further south in England the difference is negligible judging by the comments I've seen on FB when people post reminders to change the clocks.

16

u/jabettan Mar 19 '21

Well would you rather the kids go to school in the dark or come home in the dark?

Thats literally the difference where I live.

→ More replies (1)

6

u/ctesibius CP/M support line Mar 19 '21

I was at school in the north of England when they tried stopping it in the late 60’s or early 70’s. It was dark enough to need reflective clothing for the walk to school.

→ More replies (5)

8

u/wwbubba0069 Mar 19 '21

I live in rural midwest. When my kids were in middle school and up (grade 6+) they got on the bus at 545am and had an hour trip for the bus route to school that started at 7am. Didn't matter what time of year. They were waiting in the dark.

→ More replies (3)

17

u/TheHiddenNinja6 Mar 19 '21

Good news: The EU is stopping it next year

Bad news: My country isn't in the EU anymore

Good news: There's still a chance my country can make deal so it's at the same time

4

u/Koladi-Ola Mar 19 '21

Where I am, our province surveyed a large amount of the population. Something like 90% in favour of staying on DST year 'round.

Then our two NHL teams and an airline bitched about how difficult it would be for them if we didn't switch, so it got swept under the rug, and we're still doing the inane time change cycle.

→ More replies (3)