MugunthKumar / MKStoreKit

The "Goto" In App Purchases Framework for iOS 8+
2.09k stars 430 forks source link

wrong comparison between seconds and milliseconds #253

Open ashayk opened 8 years ago

ashayk commented 8 years ago

line 418: if ([[NSDate date] timeIntervalSince1970] > [expiresDateMs doubleValue])

should read: if ([[NSDate date] timeIntervalSince1970] > [expiresDateMs doubleValue]/1000.)

ethanwa commented 8 years ago

I can confirm that this is a bug that needs to be fixed.

hankinsoft commented 8 years ago

This looks like its been fixed in the current code stream. The issue can probably be closed.

cujo30227 commented 5 years ago

nope it is note. Line 170 is fixed, line 418 is not...