Skip to content

v2.0.0

Latest

Choose a tag to compare

@aichbauer aichbauer released this 07 Sep 20:05
· 4 commits to master since this release

Breaking Changes

added a new param to the date and datetime function

inputIs.date('22/12/2018', 'DD/MM/YYYY'); // => true
inputIs.date('22/12/2018', 'MM/DD/YYYY'); // => false
inputIs.date('22/12/2018'); // => false

This change happened because of dropping momentjs as dependency. This decision was made because it is a really small library but with momentjs as dependency it had too much overhead to be used in a production environment.

commits

770da33 Chore: add changelog (#3) (Lukas Aichbauer)
20e2ac9 Feat: new required param format for date and datetime (#2) (Lukas Aichbauer)
68b4815 CI: add node version 8 (#1) (Lukas Aichbauer)