Template:MonthNumberToName

From Brickipedia, the LEGO Wiki


Template-info.png Template documentation

This documentation is transcluded from Template:MonthNumberToName/doc. (edit | history)

  A template for converting numeric input in the 1-12 range, whether zero-padded or not, into English month names.

Used by Template:Release.

Syntax[edit source]

{{MonthNumberToName|month number}}

Example[edit source]

{{MonthNumberToName|2}}

February

Sample test cases[edit source]

With a zero[edit source]

  • 06 - {{MonthNumberToName|06}}
    • Expected output: June
    • Actual output: June

Without a zero[edit source]

  • 8 - {{MonthNumberToName|8}}
    • Expected output: August
    • Actual output: August