diff --git a/common b/common
index ec0812a..7df6902 160000
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit ec0812ad9d0f46b29c3ca214cf1ae324bfdbfdb5
+Subproject commit 7df69021eae8bb7cbadb717cba15db8d9ae2fe1e
diff --git a/components/actors/bio.vue b/components/actors/bio.vue
index d7e177b..2d206f0 100644
--- a/components/actors/bio.vue
+++ b/components/actors/bio.vue
@@ -135,13 +135,18 @@ const aliases = Object
Date of birth
- {{ formatDate(actor.dateOfBirth, actor.dateOfBirth.getFullYear() > 1 ? 'MMMM d, yyyy' : 'MMMM d') }}
- {{ formatDate(actor.dateOfBirth, actor.dateOfBirth.getFullYear() > 1 ? 'MMM d, yyyy' : 'MMM d') }}
+
+ {{ formatDate(actor.dateOfBirth, actor.dateOfBirth.getFullYear() > 1 ? 'MMMM d, yyyy' : 'MMMM d') }}
+ {{ formatDate(actor.dateOfBirth, actor.dateOfBirth.getFullYear() > 1 ? 'MMM d, yyyy' : 'MMM d') }}
+
+
+ {{ formatDate(actor.dateOfBirth, 'MMMM, yyyy') }}
+ {{ formatDate(actor.dateOfBirth, 'yyyy') }}
{{ actor.ageFromBirth }}
+ >~{{ actor.ageFromBirth }}
@@ -163,10 +168,16 @@ const aliases = Object
>
Date of death
- {{ formatDate(actor.dateOfDeath, 'MMMM d, yyyy') }}{{ actor.ageAtDeath }}
+
+ {{ formatDate(actor.dateOfDeath, 'MMMM d, yyyy') }}
+ {{ formatDate(actor.dateOfDeath, 'MMMM, yyyy') }}
+ {{ formatDate(actor.dateOfDeath, 'yyyy') }}
+
+ ~{{ actor.ageAtDeath }}
+
[
key: 'dateOfBirth',
label: 'date of birth',
type: 'date',
- value: actor.value?.dateOfBirth
- ? format(actor.value.dateOfBirth, 'yyyy-MM-dd')
- : null,
+ value: {
+ date: actor.value?.dateOfBirth
+ ? format(actor.value.dateOfBirth, 'yyyy-MM-dd')
+ : null,
+ precision: actor.value.dateOfBirthPrecision,
+ },
inline: true,
},
{
@@ -212,9 +215,12 @@ const fields = computed(() => [
key: 'dateOfDeath',
label: 'date of death',
type: 'date',
- value: actor.value?.dateOfDeath
- ? format(actor.value.dateOfDeath, 'yyyy-MM-dd')
- : null,
+ value: {
+ date: actor.value?.dateOfDeath
+ ? format(actor.value.dateOfDeath, 'yyyy-MM-dd')
+ : null,
+ precision: actor.value.dateOfDeathPrecision,
+ },
},
{
key: 'allowGlobalMatch',
@@ -270,6 +276,14 @@ const keyMap = {
country: 'residenceCountry',
place: 'residencePlace',
},
+ dateOfBirth: {
+ date: 'dateOfBirth',
+ precision: 'dateOfBirthPrecision',
+ },
+ dateOfDeath: {
+ date: 'dateOfDeath',
+ precision: 'dateOfDeathPrecision',
+ },
tattoos: {
has: 'hasTattoos',
description: 'tattoos',
@@ -501,6 +515,7 @@ async function submit() {
>{{ item.unit }}
+
+
+
+
+
+
+