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
		- 
				
				Why would you still write <ES6 in 2023
 That's how you get ppl to hate javascript
 
 + a standardized way of formatting dates already exists: https://developer.mozilla.org/en-US...
- 
				
				@NodaiWTF Not trying to be rude or anything, but are you a JS dev or is this just a snippet you found while learning that you wanted to share? There are a bunch of things about it that's not on par with what would be considered modern or even good practice.
- 
				
				 NodaiWTF1313y@ScriptCoded I'm a Senior Dev at my company support team, meaning they make someone else write this beautiful code and I get the exciting opportunity to fix some minor issues in it! NodaiWTF1313y@ScriptCoded I'm a Senior Dev at my company support team, meaning they make someone else write this beautiful code and I get the exciting opportunity to fix some minor issues in it!
 For instance, look at this neat code block! Ain't it tidy inside its curly brackets?  
- 
				
				I'm concerned that two commenters thought that it was likely that this post was unironic.
- 
				
				 NodaiWTF1313y@electrineer that's because it could actually have been unironic. I mean I guess the author was really pleased with this outcome seeing how much effort they put in it instead of just googling "js format dates". That's some pride right there I believe! NodaiWTF1313y@electrineer that's because it could actually have been unironic. I mean I guess the author was really pleased with this outcome seeing how much effort they put in it instead of just googling "js format dates". That's some pride right there I believe!
Related Rants






 What only relying on JavaScript for HTML form input validation looks like
What only relying on JavaScript for HTML form input validation looks like
 Found something true as 1 == 1
Found something true as 1 == 1
An useful code snippet for everyone!
rant
snippets
dates
js
format