Merge pull request #43041 from Klowner/fixes/41885-android-export-month-timestamp
Fix android apk contents having mtime 1 month in future
This commit is contained in:
commit
64be558443
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue