We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54cf13e commit 2201e96Copy full SHA for 2201e96
ZipArchive.m
@@ -366,7 +366,7 @@ -(BOOL) UnzipFileTo:(NSString*) path overWrite:(BOOL) overwrite
366
components.minute = fileInfo.tmu_date.tm_min;
367
components.hour = fileInfo.tmu_date.tm_hour;
368
components.day = fileInfo.tmu_date.tm_mday;
369
- components.month = fileInfo.tmu_date.tm_mon;
+ components.month = fileInfo.tmu_date.tm_mon + 1;
370
components.year = fileInfo.tmu_date.tm_year;
371
372
NSCalendar *gregorianCalendar = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar];
0 commit comments