Skip to content

Commit

Permalink
Merge pull request #85 from AndreySBer/Fix_X_pattern_crash_API24
Browse files Browse the repository at this point in the history
Fix X pattern crash on Android API <24
  • Loading branch information
tsnik committed Jan 30, 2018
2 parents 25bd40d + 90b08e0 commit 6073cbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/com/github/mobile/api/DateAdapter.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public DateAdapter() {
formats[0] = new SimpleDateFormat("yyyy-MM-dd\'T\'HH:mm:ss\'Z\'");
formats[1] = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss Z");
formats[2] = new SimpleDateFormat("yyyy-MM-dd\'T\'HH:mm:ss");
formats[3] = new SimpleDateFormat("yyyy-MM-dd\'T\'HH:mm:ss\'Z\'X");
formats[3] = new SimpleDateFormat("yyyy-MM-dd\'T\'HH:mm:ss\'ZZ\'");
final TimeZone timeZone = TimeZone.getTimeZone("Zulu");
for (DateFormat format : formats) {
format.setTimeZone(timeZone);
Expand Down

0 comments on commit 6073cbc

Please sign in to comment.