bulldog2011/nano

SimpleDateFormat Issue Timestamp

hnsharma opened this issue · 0 comments

Hi,
In this library one issue still present when my phone language set like Arabic than time stamp not make proper so please add Local English 'en' in sample->webservice->HelloAmazonProductAdvertising->src->com.amazon.service.ecommerce in class AWSECommerceClient.java in Line number '112' SimpleDateFormat is08601 = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'"); replace with
SimpleDateFormat is08601 = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'",new Locale("en"));
Please add second parameter 'new Locale("en")' in SimpleDataFormat constructor