diff --git a/build.gradle b/build.gradle index a148b53..17ec791 100644 --- a/build.gradle +++ b/build.gradle @@ -8,7 +8,7 @@ plugins { } group = 'de.jottyfan.camporganizer' -version = '0.6.2' +version = '0.6.3' description = """CampOrganizer2""" diff --git a/src/main/java/de/jottyfan/camporganizer/module/confirmation/board/List2CSVService.java b/src/main/java/de/jottyfan/camporganizer/module/confirmation/board/List2CSVService.java index ea7dfcb..658685b 100644 --- a/src/main/java/de/jottyfan/camporganizer/module/confirmation/board/List2CSVService.java +++ b/src/main/java/de/jottyfan/camporganizer/module/confirmation/board/List2CSVService.java @@ -3,7 +3,9 @@ package de.jottyfan.camporganizer.module.confirmation.board; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; +import java.util.Formatter; import java.util.List; +import java.util.Locale; import org.springframework.stereotype.Service; @@ -24,7 +26,7 @@ public class List2CSVService { } private StringBuilder append(StringBuilder buf, Double d) { - return buf.append(d == null ? SEP : String.format("%.2f%s", d, SEP)); + return buf.append(d == null ? SEP : new Formatter(Locale.GERMAN).format("%.2f%s", d, SEP)); } private StringBuilder append(StringBuilder buf, Boolean b) {