monthNamefunction
The name of a month.
Import it
import { monthName } from "@johnmorrisdotca/hoshi-stars/sheets";
Definition
function monthName(month: number, lang?: Lang): string
Parameters
| Name | Type | Description |
|---|---|---|
month | number | 1 to 12. |
lang (optional) | Lang |
|
Returns
string
The name.
Examples
import { monthName } from "@johnmorrisdotca/hoshi-stars/sheets";
console.log(monthName(11, "en"), monthName(11, "ja"));November 11がつWhat it prints (run when this page was built)