Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
+1 for the low key hate, true chance the rapper style.
I hope you get a paper cut on your tongue
From a razor in a paper cup
I hope every soda you drink already shaken up
I hope your dreams dry like raisins in the baking sun -
@SortOfTested
"Dear enemy, I curse you and hope something slightly unpleasant happens to you, like an onion falling on your head." -
sariel84464yI inherited a system that hardcoded the local zone.
Every day is a struggle...
I just want to point out, the assholes that did this had to put more time into setting this, rather than just use UTC by default.
SMH, and my team asks me why I drink on morning standup. -
@sariel
That has to be refactored.
You already know, that it is a PITA to work with it as it is. So you also already know, that refactoring will cost less time than keeping the status quo. -
Tell that to the assholes that thought "yo, wouldn't it be sick if dates in HTTP headers had this format:
Wed, 17 Jun 2020 06:30:00 GMT
" -
Seriously, one of the most common protocols is using this specific date format instead of ISO. WHYYYY
-
@kescherRant I think that's an RFC standards which existed before the ISO one.
I mean I'll still prefer the ISO format personally, but at least that's some sort of standard format, and not some horrible custom one you'd need a complex regex to parse... -
@RememberMe I wouldn't wish death or illness on them, but I really want them to have a bad day because they just ruined mine.
-
@bittersweet I think you're referring to RFC 822. I'm fairly sure that one actually existed before the ISO 8601, so it gets a pass.
Though I do personally use
$ date -Is -
@LotsOfCaffeine Can I measure time as elephant heartbeats since the start of the universe?
-
@bittersweet but only if you don't document how you format it, so we have to figure it out ourselves!
-
@LotsOfCaffeine Well, elephant heartbeats vary based on their age, so there's irregular leap beats to keep things in sync. Then we have daylight savings heartbeats because elephants sleep more during dry seasons. Also, there's a conversion factor to transform Indian Elephant Time to African Elephant Time, although the exact value depends on whether you take the standard defined by the Brits during their occupation of India, or Modern Indian Elephant Time. And then there's the Universe Age Modifier, which differs per religion... Luckily most programming languages ship with libraries to do most of this for you, all you have to do is figure out where your users live, what belief system they have, and whether they like elephants with long or short ears.
Related Rants
@ Developers who don't comply to ISO 8601
I really hope you get to a really nice ice cream shop, get some amazing ice cream, only for you to trip, and fall right on top of the ice cream, ruining your favourite shirt in the process.
rant
ice cream
iso8601
dates