Skip to content

Commit

Permalink
Merge pull request #349 from 10up/fix/347
Browse files Browse the repository at this point in the history
Fix: Playlists have empty "Created At:" and "Updated At:"
  • Loading branch information
felipeelia committed Nov 7, 2023
2 parents b4855ff + bae0f77 commit e2ed533
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/js/src/views/media-details.js
Original file line number Diff line number Diff line change
Expand Up @@ -526,8 +526,8 @@ var MediaDetailsView = BrightcoveView.extend({
options = _.extend({}, options, this.model.toJSON());
// options.duration = this.model.getReadableDuration();
options.duration = '0:05';
options.updated_at_readable = this.model.getReadableDate('updatedAt');
options.created_at_readable = this.model.getReadableDate('createdAt');
options.updated_at_readable = this.model.getReadableDate('updated_at');
options.created_at_readable = this.model.getReadableDate('created_at');
options.account_name = this.model.getAccountName();

this.template = wp.template('brightcove-media-item-details-' + this.mediaType);
Expand Down

0 comments on commit e2ed533

Please sign in to comment.