diff --git a/src/renderer/components/watch-video-description/watch-video-description.js b/src/renderer/components/watch-video-description/watch-video-description.js index c5a45e8b..095dc038 100644 --- a/src/renderer/components/watch-video-description/watch-video-description.js +++ b/src/renderer/components/watch-video-description/watch-video-description.js @@ -23,15 +23,10 @@ export default Vue.extend({ }, data: function () { return { - dateString: '', shownDescription: '' } }, mounted: function () { - const date = new Date(this.published) - const dateSplit = date.toDateString().split(' ') - this.dateString = `${dateSplit[0]} ${dateSplit[1]} ${dateSplit[2]}, ${dateSplit[3]}` - if (this.descriptionHtml !== '') { this.shownDescription = this.parseDescriptionHtml(this.descriptionHtml) } else { diff --git a/src/renderer/components/watch-video-description/watch-video-description.vue b/src/renderer/components/watch-video-description/watch-video-description.vue index ee3e4132..8ed65de6 100644 --- a/src/renderer/components/watch-video-description/watch-video-description.vue +++ b/src/renderer/components/watch-video-description/watch-video-description.vue @@ -1,6 +1,5 @@