python/scour: add test results
[oi-userland.git] / components / encumbered / megasync / patches / 04-utils.cpp.patch
blobf74351dc8a6d5f11134f56a2fb6d368bce0ee15c
1 --- MEGAsync_ori/src/MEGASync/mega/src/utils.cpp Wed Mar 9 22:04:59 2022
2 +++ MEGASync_patched/mega/src/utils.cpp Sat Mar 5 15:44:11 2022
3 @@ -1916,7 +1916,7 @@
4 #error "localtime is not thread safe in this compiler; please use a later one"
5 #else //POSIX
6 t = mktime(&dst);
7 - t += dst.tm_gmtoff - dst.tm_isdst * 3600;
8 + t += dst.tm_isdst * 3600;
9 #endif
10 return t;