mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-07 16:06:08 +00:00
Fixed parsing of dateformats in WebDAV responses
This commit is contained in:
parent
48d43b576c
commit
f323dda044
@ -58,7 +58,7 @@ public class WebdavUtils {
|
||||
Date returnDate = null;
|
||||
for (int i = 0; i < DATETIME_FORMATS.length; ++i) {
|
||||
try {
|
||||
returnDate = new SimpleDateFormat (DATETIME_FORMATS[i]).parse(date);
|
||||
returnDate = new SimpleDateFormat (DATETIME_FORMATS[i], Locale.US).parse(date);
|
||||
return returnDate;
|
||||
} catch (ParseException e) {
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user