mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
19 lines
581 B
CoffeeScript
19 lines
581 B
CoffeeScript
Darkswarm.factory "Dates", ->
|
|
new class Dates
|
|
months: [
|
|
{key: t("january"), value: "1"},
|
|
{key: t("february"), value: "2"},
|
|
{key: t("march"), value: "3"},
|
|
{key: t("april"), value: "4"},
|
|
{key: t("may"), value: "5"},
|
|
{key: t("june"), value: "6"},
|
|
{key: t("july"), value: "7"},
|
|
{key: t("august"), value: "8"},
|
|
{key: t("september"), value: "9"},
|
|
{key: t("october"), value: "10"},
|
|
{key: t("november"), value: "11"},
|
|
{key: t("december"), value: "12"},
|
|
]
|
|
|
|
years: [moment().year()..(moment().year()+15)]
|