amazonwebservices/aws-sdk-for-ios — pull request #8 by carlj (2012-07-17 07:22:09+00:00)
Title: Fixed Date Parse Bug in DynamoDBDescribeTableResponse

Hi,

i fixed a Time Parse Bug. The Bug appers if you call DynamoDBDescribeTableRequest in the DynamoDBDescribeTableResponse.

The Raw JSON Response is:

```{"Table":{"CreationDateTime":1.342450478554E9,"ItemCount":10,"KeySchema":{"HashKeyElement":{"AttributeName":"test","AttributeType":"N"}},"ProvisionedThroughput":{"LastDecreaseDateTime":1.342508962485E9,"LastIncreaseDateTime":1.342508809828E9,"ReadCapacityUnits":6,"WriteCapacityUnits":10},"TableName":"foobar","TableSizeBytes":262,"TableStatus":"ACTIVE"}}```

If you NSLog the DynamoDBDescribeTableResponse:

```{TableName: foobar,KeySchema: {HashKeyElement: {AttributeName: test,AttributeType: N,},RangeKeyElement: (null),},TableStatus: ACTIVE,CreationDateTime: 1970-01-16 12:54:10 +0000,ProvisionedThroughput: {LastIncreaseDateTime: 1970-01-16 12:55:08 +0000,LastDecreaseDateTime: 1970-01-16 12:55:08 +0000,ReadCapacityUnits: 6,WriteCapacityUnits: 10,},TableSizeBytes: 262,ItemCount: 10,}```

As you can see, the CreationDateTime, LastDecreaseDateTime and LastIncreaseDateTime are not correct.
I fixed the Bug and now the NSLog from the DynamoDBDescribeTableResponse show the correct dates