mirror of
https://github.com/web3privacy/explorer-app.git
synced 2024-10-15 16:46:26 +02:00
5 lines
123 B
TypeScript
5 lines
123 B
TypeScript
import moment from 'moment'
|
|
|
|
export function formatDate(date: Date | string) {
|
|
return moment(date).format('MM / YYYY')
|
|
}
|