Skip to content

Version 0.10.0

Compare
Choose a tag to compare
@VitorLuizC VitorLuizC released this 20 Oct 20:25
· 16 commits to master since this release

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.

All the changes

0.9.1...0.10.0