From 08840c4c2bed67e8db48df1bdff338777a099ad1 Mon Sep 17 00:00:00 2001 From: localhorst Date: Sun, 9 Jun 2019 13:02:26 +0200 Subject: [PATCH] Revert "Fix display of the month at creation date" This reverts commit 19eb6660e11b23c84b78e7ec275568919bfc0eb5. --- .../hso/texturesyncclient/controller/net/InternalJsonModel.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/main/kotlin/org/hso/texturesyncclient/controller/net/InternalJsonModel.kt b/client/src/main/kotlin/org/hso/texturesyncclient/controller/net/InternalJsonModel.kt index 1d11444..324b430 100644 --- a/client/src/main/kotlin/org/hso/texturesyncclient/controller/net/InternalJsonModel.kt +++ b/client/src/main/kotlin/org/hso/texturesyncclient/controller/net/InternalJsonModel.kt @@ -50,11 +50,11 @@ internal data class InternalTexture( else -> throw ConnectionInvalidJsonException() }, resolution = Pair(resolution[0], resolution[1]), - addedOn = GregorianCalendar(added_on[0], added_on[1] - 1, added_on[2]), + addedOn = GregorianCalendar(added_on[0], added_on[1], added_on[2]), textureHash = Sha256(texture_hash) ) } catch (e: Exception) { // i Know, but no time :[] throw ConnectionInvalidJsonException() } } -} +} \ No newline at end of file