prettyPrintTime
`openLinkProgrammatically.ts` mentions that i18n doesn't work in utils; maybe that comment is outdated? I've also added the translations for Spanish and that tested well. Removed the `formatExpiration` function as it appears to no longer be used.