Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Vue.filter('formatDate', function(value) {
if (value) {
return moment(String(value)).format('DD/MM/YYYY hh:mm:ss')
}
return 'N/A';
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.