Last active
August 15, 2019 20:54
-
-
Save EdwinBetanc0urt/c6b183282a41713a756ff134ed986793 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template v-else-if="item.componentPath === 'Date' || item.componentPath == 'Time'"> | |
<!-- replace number timestamp value for date --> | |
{{ typeof scope.row[item.columnName] === 'number' ? new Date(scope.row[item.columnName]) : scope.row[item.columnName] }} | |
</template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment