summaryrefslogtreecommitdiff
path: root/scripts/icstocal.c
blob: 73feefb8ec73fa8bc6726195405592dd09d15255 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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;
}