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
-
Lensflare17508267dNo. ISO 8601.
Reading a number like 1709251200, you don’t know what the date is. You need to convert it first. That is dogshit. -
Lensflare17508267d@SidTheITGuy that thing is the literal standard for dates and is built into every std lib in every language.
If you didn‘t know about it, you obviously have too few experience on that topic and are not qualified to make such a claim. -
Liebranca1105267dKnock knock. Who's that? Leap seconds. Leap seconds who? Leap seconds I will fuck you in the ass. Is that a real name or just an alias? Bitch, just open the door!
-
atheist9986267dUnless you can do the conversion in your head it adds work to debugging... Human readable where feasible.
Here's something that should be a standard rule for writing APIs:
When you offer a date filter for your API, the date format passed in should be a UNIX timestamp and not a literal date. For example,
Incorrect API URL format: '?start_date=2024-03-01&end_date=2024-04-01'
Correct API URL format: '?start_date=1709251200&end_date=1711929600'
rant