Releases: taylorhakes/fecha
Releases · taylorhakes/fecha
Do parsing fixes
Fixed a bug when parsing dates with 10th, 12th, 1st, etc.
Throw errors on `invalid date` objects
- Fecha will now throw errors if you try to format a Date object that is not valid. This helps in debugging and not allowing invalid dates being shown to users.
- Removed gulp and now use NPM script to build minified file
- Added nyc to see test coverage when testing
Fixed case sensitive issue in painless
1.2.2 Fixed painless case insensitive issue
Moved jasmine tests to painless
Moved to new testing framework painless. Tests run much faster.
Fixed regular expression denial of service
Possible denial of service was possible if unvalidated input is passed to fecha.parse
. Input strings longer than 1000 characters now return false
Updates to AM/PM and timezone calculations
1.1.0 Fixed multiple bugs in AM/PM. Upgraded version to 1.1.0
First major release
Breaking Changes:
- Removed ability to use Fecha.parse without format parameter
- Removed ability to use Fecha.format with string or null for date object
Fixed amd definition
v0.2.2 Fixed a bug in amd definition
v0.2.1
Fixed bower.json to valid JSON file