We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9239095 + fb99dba commit 5264a8aCopy full SHA for 5264a8a
src/AndroidClient/client/src/main/java/net/servicestack/client/Utils.java
@@ -210,7 +210,8 @@ public static Date parseDate(String string) {
210
211
if (str.startsWith(wcfJsonPrefix)) {
212
String body = splitOnLast(splitOnFirst(str, '(')[1], ')')[0];
213
- String unixTimeStr = splitOnFirst(body.replace('+', '-'), '-', 1)[0];
+ String unixTimeStr = splitOnFirst(body,'-', 1)[0];
214
+ unixTimeStr = splitOnFirst(unixTimeStr,'+', 1)[0];
215
long unixTime = Long.parseLong(unixTimeStr);
216
return new Date(unixTime);
217
}
0 commit comments