Skip to content

Commit

Permalink
Corrected timezones for v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Fayder Florez committed Nov 2, 2016
1 parent fa796e9 commit b8acf04
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/countriesV2.json

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions src/test/java/fayder/restcountries/EmptyDataTest.java
Expand Up @@ -101,6 +101,12 @@ public void emptyTimezones() throws Exception {
for (BaseCountry c : countries) {
if (c.getTimezones() == null || c.getTimezones().isEmpty()) {
System.out.println(c.getName());
} else {
for(String timezone : c.getTimezones()) {
if (!timezone.contains("UTC")) {
System.out.println(c.getName());
}
}
}
}
}
Expand Down

0 comments on commit b8acf04

Please sign in to comment.