GetCostFromDuration fixed

This commit is contained in:
2023-05-12 09:20:46 +02:00
parent ed9166c226
commit 219d820104
5 changed files with 256 additions and 278 deletions

View File

@@ -33,7 +33,7 @@ time_t Utilities::GetCurrentLocalTime()
memset(&tm_curr_time, '\0', sizeof(struct tm));
tm_curr_time = *localtime(&curr_time);
curr_time = mktime(&tm_curr_time) - timezone;
curr_time = mktime(&tm_curr_time); //- timezone;
return curr_time;
}
catch (...)