lib/filmbuff/title.rb in filmbuff-0.1.5 vs lib/filmbuff/title.rb in filmbuff-0.1.6

- old
+ new

@@ -11,10 +11,10 @@ @runtime = options["runtime"]["time"] if options["runtime"] @rating = options["rating"] @votes = options["num_votes"] @poster_url = options["image"]["url"] if options["image"] @genres = options["genres"] || [] - @release_date = options["release_date"]["normal"] if - options["release_date"]["normal"] + @release_date = Date.strptime(options["release_date"]["normal"]) if + options["release_date"] end end end