Move getRelativeTimeAgo into its own function.