Replace line seperator for google event descriptions
This commit is contained in:
@@ -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.EventReminder;
|
||||||
import com.google.api.services.calendar.model.Events;
|
import com.google.api.services.calendar.model.Events;
|
||||||
import de.jeyp91.tippliga.TLWLeague;
|
import de.jeyp91.tippliga.TLWLeague;
|
||||||
import de.jeyp91.tippliga.TLWMatch;
|
|
||||||
import de.jeyp91.tippliga.TLWMatchday;
|
import de.jeyp91.tippliga.TLWMatchday;
|
||||||
import org.apache.logging.log4j.LogManager;
|
import org.apache.logging.log4j.LogManager;
|
||||||
import org.apache.logging.log4j.Logger;
|
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) {
|
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) {
|
public static void updateAllMatchdays(ArrayList<TLWMatchday> matchdays) {
|
||||||
|
|||||||
Reference in New Issue
Block a user