Skip to content

Commit

Permalink
Fix get/set date abbr unit to D
Browse files Browse the repository at this point in the history
  • Loading branch information
ichernev committed Apr 4, 2014
1 parent 9d06540 commit fd34e3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/core_docs/get-set/get.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ moment().get(unit) === moment()[unit]()
```

Units are case insensitive, and support plural and short forms: year (years,
y), month (months, M), date (dates, d), hour (hours, h), minute (minutes, m),
y), month (months, M), date (dates, D), hour (hours, h), minute (minutes, m),
second (seconds, s), millisecond (milliseconds, ms).
2 changes: 1 addition & 1 deletion source/core_docs/get-set/set.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ moment().set(unit, value) // same as moment()[unit](value)
```

Units are case insensitive, and support plural and short forms: year (years,
y), month (months, M), date (dates, d), hour (hours, h), minute (minutes, m),
y), month (months, M), date (dates, D), hour (hours, h), minute (minutes, m),
second (seconds, s), millisecond (milliseconds, ms).

0 comments on commit fd34e3d

Please sign in to comment.