| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks @sakebook. Just one change needed, and then we can merge.
Sorry, something went wrong.
| new SimpleDateFormat(PATTERN_RFC1123), | ||
| new SimpleDateFormat(PATTERN_RFC1036), | ||
| new SimpleDateFormat(PATTERN_ASCTIME) | ||
| new SimpleDateFormat(PATTERN_RFC1123, Locale.UK), |
There was a problem hiding this comment.
Let's follow what http://svn.apache.org/repos/asf/httpcomponents/httpclient/tags/4.3/httpclient/src/main/java/org/apache/http/client/utils/DateUtils.java does and set to Locale.US.
Sorry, something went wrong.
There was a problem hiding this comment.
I fixed it. 3e8ec14
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM 👍
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Discussion
No issue.
Current Date test is depend on Locale(GMT).
I ran the test on my local machine and it was not successful.
This is because the Japanese locale (JMT) is used.
I defined use Locale.US.
Testing
Fixed test
API Changes
None
RELEASE NOTE: Fixed a bug in date string parsing during error handling.