1099
(page 2) 50 comments
sorted by: hot top controversial new old
[-] uis@lemm.ee 7 points 3 months ago

Move to International Atomic Time timezone. clock_gettime(CLOCK_TAI, ...) and stop complaining.

[-] AgentGrimstone@lemmy.world 7 points 3 months ago

I'm not a developer but give him one for me too

[-] 0x0@programming.dev 7 points 3 months ago

DST is a digital STD

[-] Jagget@programming.dev 5 points 3 months ago
[-] jballs@sh.itjust.works 5 points 3 months ago

I just discovered that while the ServiceNow APIs return all times in UTC, they use the user's default time for all times passed in as a parameter.

So if your account is set up in PDT and you say "give me this item that I just created", it will say "here your item, this was created at 17:00".

But if you say, "cool let me see all items created in the last hour, so anything greater than 16:00", then it will respond "got nothing for ya, chief."

[-] LordCrom@lemmy.world 5 points 3 months ago

Would be more appropriate if it was the datetime library creator.

load more comments
view more: ‹ prev next ›
this post was submitted on 03 Apr 2024
1099 points (96.2% liked)

Programmer Humor

18292 readers
2024 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS