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

Fix x-ms-date format issue for non-english locales #10

Merged
merged 1 commit into from
Jan 16, 2015
Merged

Fix x-ms-date format issue for non-english locales #10

merged 1 commit into from
Jan 16, 2015

Conversation

aliuy
Copy link
Member

@aliuy aliuy commented Jan 16, 2015

Computers running on non-English locales may run in to a "com.microsoft.azure.documentdb.DocumentClientException: The input date header is invalid format. Please pass in RFC 1123 style date format." in which the x-ms-date fails server validation.

Details: https://social.msdn.microsoft.com/Forums/azure/en-US/de4ad792-6b58-42e7-803c-4c6f549094c0/documentdb-java-example-errors?forum=AzureDocumentDB

This fix is to use format the x-ms-date using Locale.US

@aliuy aliuy changed the title Fix x-ms-date format issue for non-english locals Fix x-ms-date format issue for non-english locales Jan 16, 2015
shipunyc added a commit that referenced this pull request Jan 16, 2015
Fix x-ms-date format issue for non-english locales
@shipunyc shipunyc merged commit cc674cd into Azure:master Jan 16, 2015
kirankumarkolli pushed a commit that referenced this pull request Jan 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants