jonstipe / date-polyfill Goto Github PK
View Code? Open in Web Editor NEWA polyfill for implementing the HTML5 <input type="date"> element in browsers that do not currently support it.
A polyfill for implementing the HTML5 <input type="date"> element in browsers that do not currently support it.
When I enable localization support of the datepicker for example by adding
Modernizr is not defined in http://jonstipe.github.io/date-polyfill/demo.html from browser console.
type=date
is great for birthdate input in other browsers, but need a polyfill for Firefox.
We at VersionEye are working hard to keep up the quality of the bower's registry.
We just finished our initial analysis of the quality of the Bower.io registry:
7530 - registered packages, 224 of them doesnt exists anymore;
We analysed 7306 existing packages and 1070 of them don't have bower.json on the master branch ( that's where a Bower client pulls a data ).
Sadly, your library jonstipe/date-polyfill
is one of them.
Can you spare 15 minutes to help us to make Bower better?
Just add a new file bower.json
and change attributes.
{
"name": "jonstipe/date-polyfill",
"version": "1.0.0",
"main": "path/to/main.css",
"description": "please add it",
"license": "Eclipse",
"ignore": [
".jshintrc",
"**/*.txt"
],
"dependencies": {
"<dependency_name>": "<semantic_version>",
"<dependency_name>": "<Local_folder>",
"<dependency_name>": "<package>"
},
"devDependencies": {
"<test-framework-name>": "<version>"
}
}
Read more about bower.json on the official spefication and nodejs semver library has great examples of proper versioning.
NB! Please validate your bower.json with jsonlint before commiting your updates.
Thank you!
Timo,
twitter: @versioneye
email: [email protected]
VersionEye - no more legacy software!
Greetings,
when using the date-polyfill in Firefox 19.0.2 the dialog doesn't close when you select a date. The error appears to be in line 204 of date-polyfill.js: if (Modernizr.csstransitions) { returns true, and the error apepras. if we write if (false) (just for testing) it works.
It would be very nice if you could provide a reliable CDN.
If you already have on, please add it to the README.md
The ISO standard and Chrome both offer an option to clear the date. By default this polyfill sets today as the selected date if none is set. This is not standards compliant behaviour.
How can I prevent this from happening?
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.