2023-05-29 17:10:14 +02:00
|
|
|
import { DIVLO_BIRTH_DATE, getAge } from '../../utils/getAge.ts'
|
2022-11-29 10:29:02 +01:00
|
|
|
|
|
|
|
const yearOld = document.getElementById('year-old')
|
|
|
|
|
2023-05-29 17:10:14 +02:00
|
|
|
yearOld.textContent = getAge(DIVLO_BIRTH_DATE).toString()
|