Replace line seperator for google event descriptions

This commit is contained in:
2022-08-05 14:51:11 +02:00
parent 26b7545517
commit e286d1029c

View File

@@ -7,7 +7,6 @@ import com.google.api.services.calendar.model.EventDateTime;
import com.google.api.services.calendar.model.EventReminder;
import com.google.api.services.calendar.model.Events;
import de.jeyp91.tippliga.TLWLeague;
import de.jeyp91.tippliga.TLWMatch;
import de.jeyp91.tippliga.TLWMatchday;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
@@ -168,7 +167,7 @@ public class TippligaGoogleEventManager {
}
private static String getDescription(Integer season, Integer league, Integer matchday, Integer deliverDateNumber) {
return "Saison: " + season + "\n" + "Liga: " + league + "\n" + "Spieltag: " + matchday + "\n" + "Abgabeschluss: " + deliverDateNumber;
return "Saison: " + season + "\r\n" + "Liga: " + league + "\r\n" + "Spieltag: " + matchday + "\r\n" + "Abgabeschluss: " + deliverDateNumber;
}
public static void updateAllMatchdays(ArrayList<TLWMatchday> matchdays) {