From 7be4a70cbae35d4a947beb990f0a6b87a48fcc36 Mon Sep 17 00:00:00 2001 From: bvn13 Date: Thu, 2 Mar 2023 17:43:10 +0300 Subject: [PATCH 1/3] Update for next development version --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 6ca3e56..004fb8d 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ GpxAndroidSdk me.bvn13.sdk.android.gpx - 1.10.1 + 1.10.2-SNAPSHOT jar From 7c410989aa13033cc1c70fd281189ad4ce7a3457 Mon Sep 17 00:00:00 2001 From: bvn13 Date: Thu, 2 Mar 2023 18:04:38 +0300 Subject: [PATCH 2/3] catching errors while writing date --- GpxAndroidSdk.iml | 47 ------------------- .../me/bvn13/sdk/android/gpx/GpxWriter.kt | 2 +- 2 files changed, 1 insertion(+), 48 deletions(-) delete mode 100644 GpxAndroidSdk.iml diff --git a/GpxAndroidSdk.iml b/GpxAndroidSdk.iml deleted file mode 100644 index 2e806b0..0000000 --- a/GpxAndroidSdk.iml +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/main/kotlin/me/bvn13/sdk/android/gpx/GpxWriter.kt b/src/main/kotlin/me/bvn13/sdk/android/gpx/GpxWriter.kt index 1dc9085..4393765 100644 --- a/src/main/kotlin/me/bvn13/sdk/android/gpx/GpxWriter.kt +++ b/src/main/kotlin/me/bvn13/sdk/android/gpx/GpxWriter.kt @@ -265,7 +265,7 @@ fun toXmlString(value: OffsetDateTime?, nodeName: String): String { try { return "<${nodeName}>${value.format(DTF)}" } catch (e: Exception) { - log.warn(String.format("Unable to format datetime value %s in node %s", value, nodeName), e) + log.warn(String.format("Unable to format datetime value in node %s", nodeName), e) return "" } } else { From bc707c3f87c4b74e3a9080f81fdce6b353c2105f Mon Sep 17 00:00:00 2001 From: bvn13 Date: Thu, 2 Mar 2023 18:04:49 +0300 Subject: [PATCH 3/3] Update versions for release --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 004fb8d..6d42af5 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ GpxAndroidSdk me.bvn13.sdk.android.gpx - 1.10.2-SNAPSHOT + 1.10.2 jar