Closed civic23 closed 4 years ago
line 51-79 represents a populated array, which should be inserted (instead of the empty one) in line 48. https://github.com/Znote/ZnoteAAC/blob/0d3940a0e64b525a4526ed40e34ed588fd0dc52b/login.php#L47-L49
eventlist' => array('description' => "Description text.\n\nTest", 'startdate' => 1590979202, 'colordark' => "#735D10", // HEX color code 'name' => "Full Moon", 'enddate' => 1590979202 + (300 * 24 * 60 * 60), 'isseasonal' => false, 'colorlight' => "#8B6D05") ));
`
now the error doesn't appear but nothing appears in the calendar. maybe need to change the start and end date ?
idk what date format is this 'startdate' => 1590979202,
This is unix timestamp. (The integer value you get from doing os.time() in Lua). This generator seems to work fine as a unix timestamp converter: https://www.unixtimestamp.com/index.php
You might also need to go one more "array" depth into the array list, so eventlist contains a list of events, instead of representing one specific event. 'eventlist' => array(array(...
it works! thanks for your help <3
https://github.com/Znote/ZnoteAAC/blob/0d3940a0e64b525a4526ed40e34ed588fd0dc52b/login.php#L50-L80
Event Schedule in client 12 needs extra configuration/code or is not implemented yet?, I tried to uncomment lines 50, 80 in login.php but I get this error