]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Add date to UnitOfTime
authorPatrick Westerhoff <PatrickWesterhoff@gmail.com>
Thu, 14 Jul 2016 14:26:49 +0000 (16:26 +0200)
committerIskren Chernev <iskren.chernev@gmail.com>
Wed, 7 Sep 2016 08:28:24 +0000 (01:28 -0700)
- `date` refers to the day of the month
- `day` refers to the day of the week

moment.d.ts

index 39b48bd82dc2d60b685d42eec56e1daf27df8247..e0eb68d66af087057a69388ed158e167a60208a7 100644 (file)
@@ -217,8 +217,8 @@ declare namespace moment {
               "quarter" | "quarters" | "Q" |
               "month" | "months" | "M" |
               "week" | "weeks" | "w" |
-              "date" |
-              "day" | "days" | "d" |
+              "date" | "dates" | "d" |
+              "day" | "days" |
               "hour" | "hours" | "h" |
               "minute" | "minutes" | "m" |
               "second" | "seconds" | "s" |