Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dateMixins.js « mixins « js « src - github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7cb40472c053ed46adb2eb346493df2f5034b6df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
export const dateUnits = {
	data() {
		return {
			dateUnits: [
				{ name: t('polls', 'Minute'), value: 'minute' },
				{ name: t('polls', 'Hour'), value: 'hour' },
				{ name: t('polls', 'Day'), value: 'day' },
				{ name: t('polls', 'Week'), value: 'week' },
				{ name: t('polls', 'Month'), value: 'month' },
				{ name: t('polls', 'Year'), value: 'year' },
			],
		}
	},
}