78 lines
1.8 KiB
Markdown
78 lines
1.8 KiB
Markdown
# Changelog
|
|
|
|
## 6.0.2 - 6.0.6
|
|
Multiple version bumps because brain no worky
|
|
|
|
- TS typings
|
|
|
|
## 6.0.1
|
|
|
|
- Added `mo` as a shorthand for month
|
|
|
|
## 6.0.0
|
|
|
|
- Drop support for Node.js `< 8.0.0`
|
|
- Throw an error when unable to parse a timestring ([prolink007](https://github.com/prolink007))
|
|
|
|
## 5.0.1
|
|
|
|
- Fix issue where decimal values were not being parsed correctly ([vegeta897](https://github.com/vegeta897))
|
|
|
|
## 5.0.0
|
|
|
|
- Add `daysPerYear` configuration option
|
|
- Use `daysPerYear` configuration option to convert months or years to seconds
|
|
|
|
## 4.0.0
|
|
|
|
- Drop support for Node.js `< 4.0.0`
|
|
- Remove dependency on `lodash`
|
|
|
|
## 3.2.0
|
|
|
|
- Add `mon` unit ([@IanMitchell](https://github.com/IanMitchell))
|
|
|
|
## 3.1.0
|
|
|
|
- Add `ms` unit ([@mrbar42](https://github.com/mrbar42))
|
|
|
|
## 3.0.0
|
|
|
|
- Remove `String.parseTime`
|
|
- Export function instead of object
|
|
|
|
## 2.0.0
|
|
|
|
- Keep it simple: revert back to ES5, remove gulp, browserify and build steps
|
|
- Remove bower / browser specific integrations - This module can still be used client side using modern development tools like webpack, browserify etc.
|
|
- use `node-style-guide` coding style
|
|
|
|
## 1.1.1
|
|
|
|
- src now uses ES6
|
|
- use gulp instead of grunt
|
|
- setup gulp build pipeline
|
|
- use analysis tools: JSCS, jshint
|
|
- use consistent coding style (jQuery coding style)
|
|
- send code coverage to coveralls.io
|
|
- use browserify to generate distributable scripts
|
|
- add contributing doc
|
|
- misc meta data updates
|
|
- add sourcemaps
|
|
|
|
## 1.1.0
|
|
|
|
- add MIT license
|
|
- add Changelog
|
|
- add Grunt config
|
|
- add editorconfig
|
|
- add Tests
|
|
- fix JSHint errors
|
|
- format code as per editorconfig
|
|
- fix bug with conversion from year(s) to another unit
|
|
- make sure `Error` (type) is thrown when invalid unit is encountered
|
|
- add minified distributable version
|
|
- update package.json
|
|
- add bower config
|
|
- add travis config
|