From: Tim Wood Date: Thu, 5 Jan 2012 17:44:05 +0000 (-0800) Subject: Adding docs for month name parsing #118 X-Git-Tag: 1.3.0~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee31362326acd60a993f4cefc3abdbdf9329b8d9;p=thirdparty%2Fmoment.git Adding docs for month name parsing #118 --- diff --git a/sitesrc/docs.jade b/sitesrc/docs.jade index 1fdbed261..5cdf1daa1 100644 --- a/sitesrc/docs.jade +++ b/sitesrc/docs.jade @@ -255,13 +255,21 @@ block content th Output tr td M or MM - td Month + td Month Number (1 - 12) + tr + td M or MM + td Month Name (In currently language set by + code moment.lang() + | ) tr td D or DD td Day of month tr td DDD or DDDD td Day of year + tr + td d, dd, ddd, or dddd + td Day of week (NOTE: these tokens are not used to create the date, as there are 4-5 weeks in a month, and it would be impossible to get the date based off the day of the week) tr td YY td 2 digit year (if greater than 70, will return 1900's, else 2000's)