I'm a fan of Open Source and have a growing interest in serverless and edge computing. I'm not a big fan of spiders, but they're doing good work eating bugs. I also stream on Twitch.
If I am looking for python-dateutil.parser.parse in JavaScript of DateTime string of unknown format; what is the best library, for both Node.js environment and Webpack / Parcel environment?
new Date(dateString) does do a pretty good job at parsing on most browsers, but will favor the system locale when MM/dd/yyyy or dd/mm/yyyy is indeterminate.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You can also look to date-fns. It has good tree shaking support.
+1 for date-fns. As well, the moment folks also create a more lighter weight, tree shakeable version called luxon.
moment / luxon
⏱ A library for working with dates and times in JS
Luxon
Luxon is a library for working with dates and times in Javascript.
Features
Download/install
Download/install instructions
Documentation
Development
See contributing.
If I am looking for python-dateutil.parser.parse in JavaScript of DateTime string of unknown format; what is the best library, for both Node.js environment and Webpack / Parcel environment?
Also, looking for How to construct a timedelta object from a simple string
new Date(dateString) does do a pretty good job at parsing on most browsers, but will favor the system locale when MM/dd/yyyy or dd/mm/yyyy is indeterminate.