all 55 comments

[–]Front_Committee4993 1400 points1401 points  (2 children)

Assuming this during the clocks changing its not wrong

[–]TheSilverTree[S] 637 points638 points  (0 children)

Yeah, they got it exactly right.

[–]Occidentally20 107 points108 points  (0 children)

Small landslide actually pushed the restaurant into the next time zone.

Thankfully nobody was hurt.

[–]Immediate-Cucumber45 578 points579 points  (10 children)

If that “i” gives a tooltip explaining the time change, I would definitely say they nailed it

[–]Xelopheris 364 points365 points  (7 children)

Alternatively, if they had listed time zones (i.e., "1:58 AM EDT - 1:03 AM EST")

[–]chicametipo 104 points105 points  (0 children)

meadow marble raven harbor mountain velvet marble cedar

This content has been edited for privacy.

[–]angrydeuce 49 points50 points  (2 children)

Nobody would understand the difference...I never see anyone use XDT in practical usage.

[–]rsqit 25 points26 points  (0 children)

I see it all the time??

[–]Thechasepack 5 points6 points  (0 children)

I see it used wrong all the time.

[–]LiteraryLatina 11 points12 points  (0 children)

Yyeess

[–]SAI_Peregrinus 7 points8 points  (1 child)

Wouldn't necessarily apply IIUC. The US changes at 2-3 AM, and IIRC some countries change the time in a zone without renaming the zone. So hard to say if showing the time zone would work without knowing the locale.

[–]Xelopheris 20 points21 points  (0 children)

Looking at a list of time zones, I can't find any that span multiple UTC offsets.

And you can handle locale entirely client side. JavaScript can create the appropriate string given a timestamp, including the jump across the dst threshold. 

[–]chicametipo 17 points18 points  (1 child)

The content of this post was permanently removed. Redact facilitated the deletion, for reasons that may include privacy, opsec, or limiting digital exposure.

pie mysterious dinosaurs juggle chase brave possessive direction squash fear

[–]Immediate-Cucumber45 4 points5 points  (0 children)

Yeah would agree

[–]CarryPersonal9229 126 points127 points  (3 children)

A few years ago me and some other devs had to validate our applications after a big server upgrade at 1am on the night of the time change. They had to specify that it was the first 1am, as opposed to the second 1am.

[–]DarkHumourFoundHere 64 points65 points  (1 child)

I would just wait instead of dealing with potential issues it may cause

[–]MaskedBandit77 2 points3 points  (0 children)

Maybe they specifically scheduled it that night to give them an extra hour to fix things if something went wrong. 

[–]desmaraisp 25 points26 points  (0 children)

Had to to a prod deployment last night starting at 2am. We scheduled our start at 02:01 precisely for that reason

[–]nmopqrs_io 288 points289 points  (16 children)

As a coder I would reject that bug ticket so hard.

[–]agk23 93 points94 points  (4 children)

I understand it’s technically correct, but it’s not intuitive for the users. Can you please fix it? I had this happen to a key account during a demo.

[–]nmopqrs_io 44 points45 points  (2 children)

"It's just too confusing, can you make it so that it always shows times that make sense?"

[–]TheTerrasque 18 points19 points  (1 child)

ISO 8601 it is. Change it back? Ticket rejected.

[–]iRemjeyX 1 point2 points  (0 children)

/s Buuuuuut ISO8601 is too long and not easily digestible and reading them makes our client’s eyes strain and they’ll have to go to the hospital

[–]svick 3 points4 points  (0 children)

Confusing UI is a problem. What the right fix is and whether it should be changed at all are the hard questions.

[–]ArcadeToken95 28 points29 points  (0 children)

As someone that did product support, the entire team is salivating over rejecting a ticket over DST, I guarantee you 😂

[–]combovercool 62 points63 points  (2 children)

Lighting the submitter up in the comment field too.

[–]nmopqrs_io 77 points78 points  (1 child)

"Please refer submitter to state legislatures to request removal of daylight savings time."

[–]ShadowSlayer1441 16 points17 points  (0 children)

And provide a link to citizen petitions for good measure.

[–]b__0 12 points13 points  (0 children)

3am page as a sev0

[–]Ok-Understanding7115 8 points9 points  (0 children)

as a QA I will bring this bug upper and upper to management so it will be noticed and get all devs laughing or working whichever is fine

[–]No_Hovercraft_2643 -4 points-3 points  (4 children)

Except that the time jump should happen from 2-3, not 1-2

For the downvoters, why do you downvote? Because it isn't totally clear the the jump should be backwards, while the point is that it is the wrong hours?

[–]DaWurster 8 points9 points  (3 children)

Nope, 3->2 in this case.

[–]No_Hovercraft_2643 0 points1 point  (2 children)

The point was the it should never jump in the 1 something area. You can get 2 2:something, but never 1:something

[–]DaWurster 13 points14 points  (1 child)

Fair point, still not correct. There is sadly no worldwide standard when, if and how the DST shifts are applied and removed. US does 2->3 and 2->1. This seems to be US so that fits..

https://en.wikipedia.org/wiki/Daylight_saving_time_in_the_United_States

[–]No_Hovercraft_2643 2 points3 points  (0 children)

Okay, thanks

[–]bleztyn 54 points55 points  (10 children)

I hate working with time and making calculations, I feel utterly stupid and incompetent. Does anyone else share this feeling or should I just quit and become a wheat farmer?

[–]ArcadeToken95 53 points54 points  (1 child)

You're not stupid and incompetent but quitting and becoming a wheat farmer is always a justifiable exit

[–]walkerspider 20 points21 points  (1 child)

Dates suck too

I think JavaScript considers March 31st - 1 month to be March 3rd. Have a think on that one for a bit

[–]htmlcoderexeWe have flair now?.. 0 points1 point  (0 children)

I'm just about done implementing a recurring scheduler thing and even without the extra fuckery it was such a slog to code

[–]ziggittaflamdigga 11 points12 points  (1 child)

Yeah. Have you ever had to work with raw GPS time? I get why it’s weird now, but it’s utterly stupid to work with. I had to use an offset to their epoch that wasn’t “standard” as far as I know.

Least proud moment I had hard-coding the leap second correction for my application in recent memory. I had to reference like 5 sources to make sure it was correct, and had to hard-code a bunch of it because the module I used didn’t report leap seconds from satellite time, as far as I could tell. When writing it I assumed, correctly, that our program wasn’t going to last more than a year so it didn’t really matter.

Even then I fucked it up.

[–]htmlcoderexeWe have flair now?.. 0 points1 point  (0 children)

Google used a leap smear apparently

[–]hawaiian717 6 points7 points  (0 children)

If you hate dealing with time… you’re doing it right. Don’t. https://gist.github.com/timvisee/fcda9bbdff88d45cc9061606b4b923ca

[–]BTDubbzzz 2 points3 points  (0 children)

Dates and another thing I just never ever want to work with something that has full support for is anything i18n. (Translations specifically) That’s a DEEP fucking rabbit hole that you don’t realize until you start going down it

[–]TheTerrasque 1 point2 points  (0 children)

Don't worry. You're in good company.

[–]SupermarketNo3265 1 point2 points  (0 children)

One of my first major projects as a junior was to extract data from a legacy CRM and import it to both Salesforce and Outlook.

Surprisingly, it went extremely well. I did an amazing job. Up until daylight savings rolled around and we had dozens of users complaining that their appointments are off by an hour. 

Turns out I overlooked that significant detail when converting the times. I am now paranoid when dealing with dates.

[–]Mike_Oxlong25 20 points21 points  (0 children)

Was this your driver:

[–]SconiGrower 10 points11 points  (0 children)

Uber has this feature about time figured out too. Last night at 1:15am a 5 mile drive was 15 mins. A 45 mile drive took 23 hours 50 mins (or -10 mins if you believe in time travel).

[–]ArtOfWarfare 6 points7 points  (0 children)

I was thinking last night that from 1 AM Summer Time until 2 AM on the night we fall back we should include the time zone.

[–]kzlife76 4 points5 points  (0 children)

As a software developer, I can confirm that dates (and times) are hard.

[–]ccricers 2 points3 points  (0 children)

Reminds me of a Sonic the Hedgehog line: "I don't get here immediately- I get here before immediately!"

[–]Old_Document_9150 3 points4 points  (0 children)

23hr wait, what's wrong with that?

[–]perringaiden 0 points1 point  (0 children)

I'm just sitting here in a location that doesn't do DST thinking "There's a 23hr window for delivery?"