Skip to content

Commit

Permalink
ageOf**InYears variable implementation fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
tareq89 committed Nov 25, 2024
1 parent 0589f45 commit acee9ab
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 17 deletions.
12 changes: 10 additions & 2 deletions src/api/certificates/source/birth-certificate-certified-copy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 0 additions & 13 deletions src/form/common/certificate/handlebars/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,6 @@ export function debug(): Handlebars.HelperDelegate {
}
}

export function formattedAddress(): Handlebars.HelperDelegate {
return function (
this: any,
address1: string,
address2: string,
address3: string
) {
let address = address1 ? `${address1}, ` : ''
address += address2 ? `${address2}, ` : ''
address += address3 ? address2 : ''
return address
}
}
export function ordinalFormatDate(): Handlebars.HelperDelegate {
return function (dateString: string) {
const date = new Date(dateString.trim())
Expand Down

0 comments on commit acee9ab

Please sign in to comment.