Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SimpleDateFormat Issue Timestamp #12

Open
hnsharma opened this issue May 17, 2016 · 0 comments
Open

SimpleDateFormat Issue Timestamp #12

hnsharma opened this issue May 17, 2016 · 0 comments

Comments

@hnsharma
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant