def toDayString()

in hq/app/logic/CredentialsReportDisplay.scala [111:116]


  def toDayString(day: Option[Long]): String = day match {
    case Some(0) => "Today"
    case Some(1) => "Yesterday"
    case Some(d) => s"${d.toString} days ago"
    case _ => ""
  }