Commit f8349cea authored by k01612126's avatar k01612126
Browse files

Adapted Date Display in NotificationService

parent c5e0cb6c
Pipeline #1206 passed with stages
in 9 minutes and 56 seconds
......@@ -98,7 +98,7 @@ public class NotificationService {
Stream.of(sTerminAllb,sTerminAlla,mTerminAll).forEach(terminAll::addAll);
StringBuffer b = new StringBuffer();
if(!terminAll.isEmpty()){
// Schriftliche Prüfungen vor Klausur
......@@ -235,8 +235,7 @@ public class NotificationService {
}
private StringBuffer appendList(List<PruefungsTermin> filteredDates, StringBuffer b , PruefungArt p ){
DateTimeFormatter formatter=
DateTimeFormatter.ofLocalizedDateTime(FormatStyle.SHORT).withLocale(Locale.getDefault()).withZone(ZoneId.systemDefault());
DateTimeFormatter formatter=DateTimeFormatter.ofLocalizedDateTime(FormatStyle.MEDIUM,FormatStyle.SHORT).withLocale(Locale.GERMAN).withZone(ZoneId.systemDefault());
b.append("<ul>");
for (PruefungsTermin pruefungsTermin: filteredDates) {
if(pruefungsTermin.getModul().getPruefung().getArt().equals(p)&&pruefungsTermin.isReminderActive()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment