OsrsNeedsF2P@lemmy.ml to Programmer Humor@programming.dev · 20 days agoDebugging imagesimagemessage-square5linkfedilinkarrow-up111arrow-down10
arrow-up111arrow-down1imageDebugging imagesOsrsNeedsF2P@lemmy.ml to Programmer Humor@programming.dev · 20 days agomessage-square5linkfedilink
minus-squareSjmarf@sh.itjust.workslinkfedilinkEnglisharrow-up1·20 days agoToday I spent multiple hours trying to debug a timezone issue in a codebase. The timezone I was testing with was Etc/GMT+4, which I had assumed was four hours ahead of GMT. Turns out, it’s actually 4 hours behind GMT 🤦♂️
minus-squareJackbyDev@programming.devlinkfedilinkEnglisharrow-up0·19 days agoI cannot express how much I hate that timezones aren’t flipped. 12:00+02:00 should be equal to 14:00+00:00 like a math equation!
Today I spent multiple hours trying to debug a timezone issue in a codebase. The timezone I was testing with was
Etc/GMT+4
, which I had assumed was four hours ahead of GMT. Turns out, it’s actually 4 hours behind GMT 🤦♂️I cannot express how much I hate that timezones aren’t flipped.
12:00+02:00
should be equal to14:00+00:00
like a math equation!