* fix {imdb.released} problems

This commit is contained in:
Reinhard Pointner 2012-10-26 10:17:23 +00:00
parent e3dde62618
commit 1a65d31d60
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ public class IMDbClient implements MovieIdentificationService {
fields.put(MovieProperty.poster_path, data.get("poster"));
// convert release date to yyyy-MM-dd
Date released = Date.parse(data.get("Released"), "dd MMM yyyy");
Date released = Date.parse(data.get("released"), "dd MMM yyyy");
if (released != null) {
fields.put(MovieProperty.release_date, released.format("yyyy-MM-dd"));
}