diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-10-23 22:16:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-23 22:16:27 +0200 |
commit | 64be558443c6ec684a9fffc4ee516a403c8d7e71 (patch) | |
tree | 7ff59209865c3b3bcf790c4842185cdc818ccfa4 | |
parent | b09e60ef1a46baaab997cbdccf2ad7912cb7faee (diff) | |
parent | 5fe902244a192b33ea9cff38ab870fe41909cd19 (diff) |
Merge pull request #43041 from Klowner/fixes/41885-android-export-month-timestamp
Fix android apk contents having mtime 1 month in future
-rw-r--r-- | platform/android/export/export.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/export/export.cpp b/platform/android/export/export.cpp index 5e6cc3e4e2..37da1dbd4d 100644 --- a/platform/android/export/export.cpp +++ b/platform/android/export/export.cpp @@ -592,7 +592,7 @@ class EditorExportPlatformAndroid : public EditorExportPlatform { zipfi.tmz_date.tm_hour = time.hour; zipfi.tmz_date.tm_mday = date.day; zipfi.tmz_date.tm_min = time.min; - zipfi.tmz_date.tm_mon = date.month; + zipfi.tmz_date.tm_mon = date.month - 1; // tm_mon is zero indexed zipfi.tmz_date.tm_sec = time.sec; zipfi.tmz_date.tm_year = date.year; zipfi.dosDate = 0; |