in example/src/main/scala/com/example/Support.scala [44:61]
private def convertRota(
rotaEntry: ((Int, Int, Int), (String, String))
): (Instant, (String, String)) = {
rotaEntry match {
case ((year, month, day), users) =>
// this rota changes over at 11am London time
ZonedDateTime.of(
year,
month,
day,
11,
0,
0,
0,
ZoneId.of("Europe/London")
).toInstant -> users
}
}