1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-02 08:25:02 -04:00

* fix {imdb.released} problems

This commit is contained in:
Reinhard Pointner 2012-10-26 10:17:23 +00:00
parent e3dde62618
commit 1a65d31d60

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"));
}