Version 0.10.0
Minor Changes
-
Add support to date with time in
parseToDate
parser function.parseToDate('28/03/1996') //=> Date('1996-03-28T03:00:00.000Z') parseToDate('28/03/1996 20:00') //=> Date('1996-03-28T23:00:00.000Z') parseToDate('28/03/1996 20:00:00') //=> Date('1996-03-28T23:00:00.000Z') parseToDate('31/02/2018') //=> throws Error('Value "31/02/2018" is an invalid date.')
Thanks to @mechamobau for PR #41 that fixed issue #23.
Patch Changes
- Upgrade devDependencies.