diff --git a/src/app/shared/utils.ts b/src/app/shared/utils.ts index a901593cce..0a9a45ad23 100644 --- a/src/app/shared/utils.ts +++ b/src/app/shared/utils.ts @@ -83,8 +83,6 @@ export const toProperCase = (string: string) => `${string.slice(0, 1).toUpperCas export const stringToHex = (string: string) => string.split('').map(char => char.charCodeAt(0).toString(16)).join(''); -export const hexToString = (string: string) => string.match(/.{1,2}/g).map(hex => String.fromCharCode(parseInt(hex, 16))).join(''); - export const ageFromBirthDate = (currentTime: number, birthDate: string) => { const now = new Date(currentTime); const birth = new Date(birthDate);