binaries in after merge

This commit is contained in:
2022-01-28 16:09:12 +01:00
9 changed files with 9 additions and 0 deletions

View File

@ -76,6 +76,11 @@ int getTimeFromString(char *buf, time_t *result) {
LOG(logDEBUG, ("kernel v %s\n", buffer));
const char *timezone = {"CEST"};
char *res = strstr(buffer, timezone);
// remove CET as well
if (res == NULL) {
strcpy(timezone, "CET");
res = strstr(buffer, timezone);
}
if (res != NULL) {
size_t cestPos = res - buffer;
size_t pos = cestPos + strlen(timezone) + 1;