История изменений
Исправление Gyros, (текущая версия) :
Поставил %Z. Увеличил буфер до 512.
size_t c = strftime(buff, 512, "%d/%m/%Y %Z %H:%M:%S", local);
gcc;
c = 23
[INFO]: [01/08/2024 MSK 15:33:06]: Start!
[INFO]: [01/08/2024 MSK 15:33:06]: Bla-bla
[INFO]: [01/08/2024 MSK 15:33:07]: Done.
mingw;
c = 38
[INFO]: [01/08/2024 Arab Standard Time 15[INFO]: []: Start!
[INFO]: [01/08/2024 Arab Standard Time 15[INFO]: []: Bla-bla
[INFO]: [01/08/2024 Arab Standard Time 15[INFO]: []: Done.
Исходная версия Gyros, :
Поставил %Z Увеличил буфер до 512.
size_t c = strftime(buff, 512, "%d/%m/%Y %Z %H:%M:%S", local);
gcc;
c = 23
[INFO]: [01/08/2024 MSK 15:33:06]: Start!
[INFO]: [01/08/2024 MSK 15:33:06]: Bla-bla
[INFO]: [01/08/2024 MSK 15:33:07]: Done.
mingw;
c = 38
[INFO]: [01/08/2024 Arab Standard Time 15[INFO]: []: Start!
[INFO]: [01/08/2024 Arab Standard Time 15[INFO]: []: Bla-bla
[INFO]: [01/08/2024 Arab Standard Time 15[INFO]: []: Done.