diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-02-14 14:54:52 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-02-14 14:54:52 +0100 |
commit | 9057462c34977103a2c68124ee8f50a2d1a967ce (patch) | |
tree | 1297ff83260bc692f5c749b338de8e2d10c1e681 | |
parent | 84aafeeaa76d86f9e28589d60a9e4e4eb958151e (diff) |
Force display date for bday
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rw-r--r-- | src/models/rfcProps.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/models/rfcProps.js b/src/models/rfcProps.js index 79c891e6..c9b91c16 100644 --- a/src/models/rfcProps.js +++ b/src/models/rfcProps.js @@ -110,6 +110,7 @@ const properties = component => ({ bday: { readableName: t('contacts', 'Birthday'), icon: 'icon-calendar-dark', + force: 'date', // most ppl prefer date for birthdays, time is usually irrelevant defaultValue: { value: new VCardTime().fromJSDate(new Date()) } @@ -124,7 +125,7 @@ const properties = component => ({ deathdate: { readableName: t('contacts', 'Date of death'), icon: 'icon-calendar-dark', - force: 'date', + force: 'date', // most ppl prefer date for birthdays, time is usually irrelevant defaultValue: { value: new VCardTime().fromJSDate(new Date()) } |