Permalink
Browse files

Change the conversion from float to double

  • Loading branch information...
1 parent f9e7a32 commit 4b0b4b9a885e31695b21ab22654d520e01ccd0ab @carlj carlj committed Jul 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Amazon.Runtime/AmazonSDKUtil.m
@@ -313,7 +313,7 @@ +(NSDate *)millisSinceEpochToDate:(NSNumber *)millisSinceEpoch
+(NSDate *)secondsSinceEpochToDate:(NSNumber *)secondsSinceEpoch;
{
- return [NSDate dateWithTimeIntervalSince1970: [secondsSinceEpoch floatValue] ];
+ return [NSDate dateWithTimeIntervalSince1970: [secondsSinceEpoch doubleValue] ];
}
+(NSDate *)convertStringToDate:(NSString *)string usingFormat:(NSString *)dateFormat

0 comments on commit 4b0b4b9

Please sign in to comment.