Compare commits

..

2 Commits

Author SHA1 Message Date
ketrptr 6816c4eacf Merge branch 'bugfix' of https://gitea.fhgr.ch/schurtisimon/StudyPlanner into bugfix 2024-12-16 11:22:39 +01:00
ketrptr ac45c8cb65 modified: src/ui.c 2024-12-16 11:22:15 +01:00
1 changed files with 1 additions and 0 deletions

View File

@ -99,6 +99,7 @@ int main(void) {
// if list exists use it to generate plan
if (listT != NULL) {
struct tm lc;
now = time(NULL);
localtime_r(&now, &lc);
lc.tm_hour += taskspare;
time_t avail = mktime(&lc);