diff options
| author | marcellus <msimon_fr@hotmail.com> | 2024-05-14 20:07:34 +0200 |
|---|---|---|
| committer | marcellus <msimon_fr@hotmail.com> | 2024-05-14 20:07:34 +0200 |
| commit | a9bc8d767e74eee1925fbd5a00c1f0a8336781b1 (patch) | |
| tree | d8ab741816af827e989044c35d42d6d2952fbdfc /scripts/icstocal.c | |
| parent | 0173c966ca715c14c9483b2e5e44d27173604638 (diff) | |
update: few changes -> read the diff
Diffstat (limited to 'scripts/icstocal.c')
| -rw-r--r-- | scripts/icstocal.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/scripts/icstocal.c b/scripts/icstocal.c new file mode 100644 index 0000000..73feefb --- /dev/null +++ b/scripts/icstocal.c @@ -0,0 +1,22 @@ +// A supposedly better version of icstocal, originally written by Ratakor + +#include <stdio.h> +#include <stdlib.h> +#include <err.h> +#include <string.h> + +#define TIMEZONE 2 // as UTC+2 +#define IN "en" // 'en' means 'in' in french + +int main(int argc, char** argv) +{ + if (argc < 3) + { + printf("Usage: icstocal calendar.ics $XDG_DATA_HOME/quand/calendar"); + errx(EXIT_FAILURE, "Bad usage"); + } + + + + return EXIT_SUCCESS; +} |
