mirror of
https://github.com/web3privacy/explorer-app.git
synced 2024-09-21 14:56:27 +02:00
6 lines
123 B
TypeScript
6 lines
123 B
TypeScript
|
import moment from 'moment'
|
||
|
|
||
|
export function formatDate(date: Date | string) {
|
||
|
return moment(date).format('MM / YYYY')
|
||
|
}
|