Skip to content

Commit

Permalink
Force display date for bday
Browse files Browse the repository at this point in the history
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  • Loading branch information
skjnldsv committed Feb 14, 2019
1 parent 84aafee commit 9057462
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/models/rfcProps.js
Expand Up @@ -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())
}
Expand All @@ -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())
}
Expand Down

0 comments on commit 9057462

Please sign in to comment.