Created
August 30, 2020 09:18
-
-
Save bachhm-dev/a3b73c69890f47b4860af0341a6521bc 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
import moment from "moment"; | |
const format = function formatUnix(value) { | |
if (value) { | |
return moment(value).format("DD/MM/YYYY"); | |
} | |
}; | |
export default format; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment