def getTime()

in api/src/main/scala/com/gu/footballtimemachine/ApiLambda.scala [130:133]


  def getTime(request: ApiGatewayRequest): ApiGatewayResponse = {
    val date = ZonedDateTime.ofInstant(Instant.ofEpochMilli(computeTime), ZoneId.of("Europe/London"))
    ApiGatewayResponse(200, Map.empty, body = s"""{"currentDate":"${date.format(DateTimeFormatter.ISO_OFFSET_DATE_TIME)}"}""")
  }