commit 7126c51acf5f23b08ade2f9645fb2cdcf6a29178
parent 41c0c6cf85032ea713b4d1f90f8192daed1d7bbe
Author: Andreas Gruhler <agruhl@gmx.ch>
Date: Wed, 29 Dec 2021 22:55:05 +0100
fix(caldav): use tm_isdst
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/caldav.c b/src/caldav.c
@@ -754,7 +754,7 @@ int caldav_sync(struct tm* date,
fprintf(stderr, "Remote last modified: %s\n", remote_last_mod);
fprintf(stderr, "Remote UID: %s\n", remote_uid);
strptime(remote_last_mod, "%Y%m%dT%H%M%SZ", &remote_datetime);
- //remote_datetime.tm_isdst = -1;
+ remote_datetime.tm_isdst = -1;
fprintf(stderr, "Remote dst: %i\n", remote_datetime.tm_isdst);
remote_date = mktime(&remote_datetime);
fprintf(stderr, "Remote dst: %i\n", remote_datetime.tm_isdst);