summaryrefslogtreecommitdiffstats
path: root/src/models
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-02-14 14:54:52 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-02-14 14:54:52 +0100
commit9057462c34977103a2c68124ee8f50a2d1a967ce (patch)
tree1297ff83260bc692f5c749b338de8e2d10c1e681 /src/models
parent84aafeeaa76d86f9e28589d60a9e4e4eb958151e (diff)
Force display date for bday
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'src/models')
-rw-r--r--src/models/rfcProps.js3
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())
}