Bio allows for date of birth without (zero) year. Added entity ID to logo title.
This commit is contained in:
@@ -27,11 +27,11 @@
|
||||
<dfn class="bio-label"><Icon icon="cake" />Date of birth</dfn>
|
||||
|
||||
<span class="birthdate">
|
||||
<span class="birthdate-long">{{ formatDate(actor.dateOfBirth, 'MMMM d, yyyy') }}</span>
|
||||
<span class="birthdate-short">{{ formatDate(actor.dateOfBirth, 'MMM d, yyyy') }}</span>
|
||||
<span class="birthdate-long">{{ formatDate(actor.dateOfBirth, actor.dateOfBirth.getFullYear() === 0 ? 'MMMM d' : 'MMMM d, yyyy') }}</span>
|
||||
<span class="birthdate-short">{{ formatDate(actor.dateOfBirth, actor.dateOfBirth.getFullYear() === 0 ? 'MMM d' : 'MMM d, yyyy') }}</span>
|
||||
|
||||
<span
|
||||
v-if="!actor.dateOfDeath"
|
||||
v-if="!actor.dateOfDeath && actor.dateOfBirth.getFullYear() !== 0"
|
||||
class="age"
|
||||
>{{ actor.ageFromBirth }}</span>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user