Feld · Month
Feld · Month · date.month. Generatormethode · Beispiel
date.month
Generatoreinstellungen
Erzeuge Daten, um Ergebnisse zu sehen.
Parameter & Beispiel
Returns a random name of a month.
date.month(options?: { abbreviated?, context? })- options
- The optional options to use.
- options.abbreviated
- Whether to return an abbreviation. Defaults to false.
- options.context
- Whether to return the name of a month in the context of a date. In the default en locale this has no effect, however, in other locales like fr or ru, this may affect grammar or capitalization, for example 'январь' with { context: false } and 'января' with { context: true } in ru. Defaults to false.
Beispiel
"May"Verwende synthetische Daten in der Testumgebung.