Initial work on icalendar import

This commit is contained in:
Frederic Culot
2008-09-15 20:40:22 +00:00
parent 2a873eafb3
commit a126904b7e
8 changed files with 789 additions and 24 deletions

View File

@@ -1,4 +1,4 @@
/* $calcurse: utils.c,v 1.48 2008/08/11 18:08:45 culot Exp $ */
/* $calcurse: utils.c,v 1.49 2008/09/15 20:40:22 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -964,3 +964,13 @@ parse_date (char *date_string, int datefmt, int *year, int *month, int *day)
*day = lday;
return (1);
}
char *
str_toupper (char *s)
{
int len;
for (len = 0; s && s[len]; len++)
s[len] = toupper (s[len]);
return s;
}