1103
you are viewing a single comment's thread
view the rest of the comments
[-] jballs@sh.itjust.works 5 points 7 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."

this post was submitted on 03 Apr 2024
1103 points (96.2% liked)

Programmer Humor

19594 readers
882 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