diff --git a/uhabits-android/src/main/java/org/isoron/uhabits/activities/habits/show/views/BarCardView.kt b/uhabits-android/src/main/java/org/isoron/uhabits/activities/habits/show/views/BarCardView.kt index fa3122ed3..4e105b69c 100644 --- a/uhabits-android/src/main/java/org/isoron/uhabits/activities/habits/show/views/BarCardView.kt +++ b/uhabits-android/src/main/java/org/isoron/uhabits/activities/habits/show/views/BarCardView.kt @@ -38,7 +38,7 @@ class BarCardView(context: Context, attrs: AttributeSet) : LinearLayout(context, fun setState(state: BarCardState) { val androidColor = state.theme.color(state.color).toInt() - binding.chart.view = BarChart(state.theme, JavaLocalDateFormatter(Locale.US)).apply { + binding.chart.view = BarChart(state.theme, JavaLocalDateFormatter(Locale.getDefault())).apply { series = mutableListOf(state.entries.map { it.value / 1000.0 }) colors = mutableListOf(theme.color(state.color.paletteIndex)) axis = state.entries.map { it.timestamp.toLocalDate() }