This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var today = new Date(); | |
var date = prompt("Datum des Montags in der ersten Tutorienwoche (Format TT.MM.JJJJ)",('0' + today.getDate()).slice(-2)+"."+('0' + (today.getMonth()+1)).slice(-2)+"."+today.getFullYear()); | |
var count = prompt("Anzahl der Wiederholungen","13"); | |
if(date != null && count != null) { | |
var temp = date.split("."); | |
var year = temp[2]; | |
var month = temp[1]; | |
var day = parseInt(temp[0]); | |
var out = "BEGIN:VCALENDAR\nVERSION:2.0\nPRODID:-//phiresky.de//tools\n"; | |
var t = $("table.piTable>tbody").children; |