Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,11 @@ module.exports.get = function (show, options, done) {

// Cast the API's release date as a native JavaScript Date type.
released: movie.Released ? new Date(movie.Released) : null,

//Added DVD and Box Office Information to returned object
dvd: movie.DVD ? new Date(movie.DVD) : null,
boxOffice: movie.BoxOffice ? +movie.BoxOffice : null,


// Return runtime as minutes casted as a Number instead of an
// arbitrary string.
Expand Down