Skip to content
This repository has been archived by the owner on Jan 3, 2018. It is now read-only.

Commit

Permalink
Merge pull request #7 from fgruchala/bug-tz
Browse files Browse the repository at this point in the history
Update tweets.vue.js
  • Loading branch information
EmmanuelDemey authored Mar 29, 2017
2 parents 24b3dea + 65a81c5 commit 76a981a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/tweets/tweets.vue.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
});

Vue.filter('tw-clock', function (value) {
const dateOfTweet = moment(value, "ddd MMM DD HH:mm:ss +ZZ YYYY");
const dateOfTweet = moment(value, "ddd MMM DD HH:mm:ss ZZ YYYY");
return moment().locale("fr").to(dateOfTweet);
});

Expand Down Expand Up @@ -60,4 +60,4 @@
window.clearTimeout(timeout);
}

})();
})();

0 comments on commit 76a981a

Please sign in to comment.