mirror of
https://github.com/defold/extension-iap
synced 2025-06-27 10:27:46 +02:00
Merge pull request #17 from Filazapovich/master
iOS: Fix localized numbers in transaction date for some Arab countries
This commit is contained in:
commit
1c017cf4ed
@ -233,6 +233,7 @@ static void CopyTransaction(SKPaymentTransaction* transaction, IAPTransaction* o
|
||||
}
|
||||
|
||||
NSDateFormatter *dateFormatter = [[[NSDateFormatter alloc] init] autorelease];
|
||||
[dateFormatter setLocale: [NSLocale localeWithLocaleIdentifier:@"en_US_POSIX"]];
|
||||
[dateFormatter setDateFormat:@"yyyy-MM-dd'T'HH:mm:ssZZZ"];
|
||||
|
||||
out->ident = strdup([transaction.payment.productIdentifier UTF8String]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user