CLDR MMM
Month name, abbreviated.
Jan
at the reference instant, Mon, Jan 2 2006, 3:04:05 PM MST
The short month name (Jan). Locale-dependent everywhere: strftime %b follows the process locale, CLDR MMM follows the formatter's locale, Go always prints English.
| Language | Token | Caveat |
|---|---|---|
| C / POSIX strftime | %b | %h is defined as an exact equivalent. |
| C# custom format | MMM | Culture-sensitive: Jun in en-US, juin in fr-FR. |
| CLDR / ICU pattern | MMM | MMMMM gives the narrow single-letter form; LLL is the stand-alone variant. |
| Go time layout | Jan | |
| Java DateTimeFormatter | MMM | L instead of M gives the stand-alone form some languages need outside a full date. |
| JavaScript Intl.DateTimeFormat | month: "short" | month: "narrow" gives a single letter (M). |
| Moment.js format | MMM | |
| PHP date() | M | |
| Python strftime | %b | |
| Ruby strftime | %b | %h is a documented synonym. |
| Rust chrono | %b | Always three letters; %h is a synonym. |
Definition anchored to Unicode UTS #35 — Date Field Symbol Table.