Skip to content

Commit

Permalink
Fixed #631: unit aliases weeks, months, and years where missing
Browse files Browse the repository at this point in the history
  • Loading branch information
josdejong committed Mar 31, 2016
1 parent f47b22c commit 5acdd96
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions HISTORY.md
@@ -1,6 +1,11 @@
# History


## not yet released, version 3.2.0

- Fixed #631: unit aliases `weeks`, `months`, and `years` where missing.


## 2016-03-24, version 3.1.3

- Fix broken bundle.
Expand Down
3 changes: 3 additions & 0 deletions lib/type/unit/Unit.js
Expand Up @@ -2633,6 +2633,9 @@ function factory (type, config, load, typed, math) {
hr: 'hour',
hrs: 'hour',
days: 'day',
weeks: 'week',
months: 'month',
years: 'year',

hertz: 'hertz',

Expand Down

0 comments on commit 5acdd96

Please sign in to comment.