From 4f8151065be86df9e765b2f2aafbf914039a1ead Mon Sep 17 00:00:00 2001 From: Daniel Thiem Date: Sun, 21 Jul 2024 16:22:55 +0200 Subject: [PATCH] changed CaCApi timestamp to seconds --- .../kotlin/eu/gaelicgames/referee/data/api/ClubAndCountyApi.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/eu/gaelicgames/referee/data/api/ClubAndCountyApi.kt b/src/main/kotlin/eu/gaelicgames/referee/data/api/ClubAndCountyApi.kt index 8d8754a..0877cd6 100644 --- a/src/main/kotlin/eu/gaelicgames/referee/data/api/ClubAndCountyApi.kt +++ b/src/main/kotlin/eu/gaelicgames/referee/data/api/ClubAndCountyApi.kt @@ -58,7 +58,7 @@ suspend fun ClubAndCountyApi.Companion.get():ClubAndCountyApi { date = timestamp.toLocalDateTime().toLocalDate(), date_range = "", time = timestamp.toLocalDateTime().toLocalTime(), - timestamp = timestamp.time, + timestamp = timestamp.time/1000, competitionName = it.getString("tournament_name"), competitionShortName = "", competitionId = it.getLong("tournament_id").toString(),