aboutsummaryrefslogtreecommitdiffstats
path: root/date.h
diff options
context:
space:
mode:
authorEl-BG-1970 <elouan.gros.fr@gmail.com>2022-03-16 20:10:21 +0100
committerEl-BG-1970 <elouan.gros.fr@gmail.com>2022-03-16 20:10:21 +0100
commita37ece490f4cf269a58afdadf6e51f62d8529a41 (patch)
treed55b3355c3fe32a0805ee384ceeb6e8865d1f52e /date.h
parent3b0ea80811a1c939e0b1b97e0f8e34dabd54717f (diff)
downloadorg-to-conky-a37ece490f4cf269a58afdadf6e51f62d8529a41.tar.gz
added weekdays
Diffstat (limited to 'date.h')
-rw-r--r--date.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/date.h b/date.h
index c160395..271f3cc 100644
--- a/date.h
+++ b/date.h
@@ -3,11 +3,13 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+#include <time.h>
typedef struct Date {
int day;
int month;
int year;
+ int weekday;
} Date;
Date extract_date(char *str);