2024-07-10 15:25:26 +02:00
|
|
|
#include "../src/list_handling.h"
|
|
|
|
#include "../src/parse_ics.h"
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
// initialize empty list
|
|
|
|
struct event *head = NULL;
|
|
|
|
|
2024-07-10 16:42:43 +02:00
|
|
|
char *current_date = "20240710T113000";
|
|
|
|
|
|
|
|
printf("DEBUG - current_date: %s\n\n", current_date);
|
2024-07-10 15:25:26 +02:00
|
|
|
|
|
|
|
parse_ics_file("/home/bf/.local/share/evolution/calendar/system/calendar.ics", &head);
|
|
|
|
|
|
|
|
print_upcoming(head, current_date, 0);
|
|
|
|
}
|