@import java.time._ @import java.time.format._ @import java.util.Locale @(timestamp: OffsetDateTime, style: FormatStyle = FormatStyle.MEDIUM)(implicit locale: Locale) @DateTimeFormatter.ofLocalizedDateTime(style).withLocale(locale).format(timestamp)