For example when displaying default view: Could not get events between dates: TypeError: Cannot read property 'filter' of undefined at getEventsBetween (/home/max/Projects/dhbw-webengineering-project/calendar.js:168:33) at process._tickCallback (internal/process/next_tick.js:68:7)
Although the div in the month view containing all day-divs has got the "overflow-y: auto;" property, it won't show a scrollbar if there are too many days in a month to display all. At the bottom you can see, that the days are cut off.
As our prof. stated, he likes himself some good 'ol readable HTML. Therefore, we should carefully sprinkle some <xsl:text>s with some whitespace over our sweet cake of glory, like a unicorn sprinkleing unicorn dust on barren whilst pooping.
๐ฆ โ๏ธ ๐ ๐ฉ
When validating our generated html it throws an error that div-Tags are not allowed inside an a-Tag. We need to workaround this somehow or only make the title clickable.
Events are placed weird if the start/end minute is not 0/15/30/45. Since it may not be possible to show events which doesn't start this way, we may need to change the minutes in javascript in the backend.
Event to test: <event> <ID>7</ID> <name>Test Termin 4</name> <description>Lorem ipsum dolor sit amet, sed consecetur</description> <location>DHBW - Karlsruhe</location> <startDateDOW>3</startDateDOW> <startDateDay>27</startDateDay> <startDateMonth>6</startDateMonth> <startDateYear>2018</startDateYear> <startTimeHour>11</startTimeHour> <startTimeMinute>1</startTimeMinute> <endDateDay>27</endDateDay> <endDateMonth>6</endDateMonth> <endDateYear>2018</endDateYear> <endTimeHour>17</endTimeHour> <endTimeMinute>2</endTimeMinute> </event>