@import java.time._ @import java.time.format._ @import java.util.Locale @(date: LocalDate, style: FormatStyle = FormatStyle.MEDIUM)(implicit locale: Locale) @{DateTimeFormatter.ofLocalizedDate(style).withLocale(locale).format(date)}