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
-
coolq48266yYou know da wae of da snek!
Out of curiosity, what is this date and time problem that takes 14 lines? -
Roses are red,
Your code is fine,
But in JavaScript you can do everything
In just one line π -
@Pogromist π¬π¬ it was a simple problem and fixed very fast...
Local time was 5AM and made me happy π -
Yeah let's compare a language heavily depending on packages with vanillajs by line count. Of fucking course.
I bet you there is a npm package letting you solve this in like a few characters.
Related Rants
Python is GREAT ππ
makes you feel happy (π) when fix a datetime problem just in 14 lines...
(36 lines in javascript βΊοΈ)
rant
function
datetime
python
javascript