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:
parent
e3dde62618
commit
1a65d31d60
@ -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"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user