panacodalabs / d8 Goto Github PK
View Code? Open in Web Editor NEWD8 - The next generation Date object for JavaScript
License: MIT License
D8 - The next generation Date object for JavaScript
License: MIT License
D8.create('01.' + (4) + '.' + 2013).yesterday() gets to Sat Mar 30 2013 23:00:00 GMT+0100 (CET)
yesterday substracts 1 day without the timezone offset and because of the winter/summer time switch the yesterday function returns a wrong date
Would be great to see some i18n examples of how it would be possible to get translated day/month names and a locale based date format. Or should this better not be part of a "lightweight" library?
You're using a ton of his code from http://blog.stevenlevithan.com/archives/date-time-format . Nothing in the MIT license says you HAVE to give him credit, but it seems kind of uncivil not to at least put a comment in about him being the original author of a lot of the code. He's on GitHub as https://github.com/slevithan , too.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.