- Update date picker presets
Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
@@ -36,10 +36,14 @@ export function TaskUpsertModalComponent({
|
||||
const {t} = useTranslation();
|
||||
|
||||
const datePickerPresets = [
|
||||
{label: t('tasks.date_presets.today'), value: dayjs()},
|
||||
{label: t('tasks.date_presets.tomorrow'), value: dayjs().add(1, 'day')},
|
||||
{label: t('tasks.date_presets.next_week'), value: dayjs().add(1, 'week')},
|
||||
{label: t('tasks.date_presets.two_weeks'), value: dayjs().add(2, 'weeks')},
|
||||
{label: t('tasks.date_presets.three_weeks'), value: dayjs().add(3, 'weeks')},
|
||||
{label: t('tasks.date_presets.one_month'), value: dayjs().add(1, 'month')},
|
||||
{label: t('tasks.date_presets.three_months'), value: dayjs().add(3, 'month')},
|
||||
|
||||
];
|
||||
|
||||
const clearRelations = () => {
|
||||
|
||||
@@ -2116,7 +2116,10 @@
|
||||
"next_week": "Next Week",
|
||||
"two_weeks": "Two Weeks",
|
||||
"three_weeks": "Three Weeks",
|
||||
"one_month": "One Month"
|
||||
"one_month": "One Month",
|
||||
"today": "Today",
|
||||
"tomorrow": "Tomorrow",
|
||||
"three_months": "Three Months"
|
||||
},
|
||||
"actions": {
|
||||
"new": "New Task",
|
||||
|
||||
@@ -2116,7 +2116,10 @@
|
||||
"next_week": "",
|
||||
"two_weeks": "",
|
||||
"three_weeks": "",
|
||||
"one_month": ""
|
||||
"one_month": "",
|
||||
"today": "",
|
||||
"tomorrow": "",
|
||||
"three_months": ""
|
||||
},
|
||||
"actions": {
|
||||
"new": "",
|
||||
|
||||
@@ -2116,7 +2116,10 @@
|
||||
"next_week": "",
|
||||
"two_weeks": "",
|
||||
"three_weeks": "",
|
||||
"one_month": ""
|
||||
"one_month": "",
|
||||
"today": "",
|
||||
"tomorrow": "",
|
||||
"three_months": ""
|
||||
},
|
||||
"actions": {
|
||||
"new": "",
|
||||
|
||||
Reference in New Issue
Block a user