From 2bf436f7c10012339dc60a053b81e90be936d9c3 Mon Sep 17 00:00:00 2001 From: woheller69 Date: Thu, 11 Apr 2024 08:12:31 +0200 Subject: [PATCH] Fix wrong date conversion --- .../examples/soundclassifier/RecyclerOverviewListAdapter.java | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/java/org/tensorflow/lite/examples/soundclassifier/RecyclerOverviewListAdapter.java b/app/src/main/java/org/tensorflow/lite/examples/soundclassifier/RecyclerOverviewListAdapter.java index 39f65a9..9baae10 100644 --- a/app/src/main/java/org/tensorflow/lite/examples/soundclassifier/RecyclerOverviewListAdapter.java +++ b/app/src/main/java/org/tensorflow/lite/examples/soundclassifier/RecyclerOverviewListAdapter.java @@ -55,7 +55,6 @@ public void onBindViewHolder(ObservationViewHolder holder, int position) { holder.time.setText(timeString); java.text.DateFormat df = java.text.DateFormat.getDateInstance(DateFormat.SHORT); - df.setTimeZone(TimeZone.getTimeZone("GMT")); String dateString = df.format(birdObservations.get(position).getMillis()); holder.date.setText(dateString);