There was an error while loading. Please reload this page.
1 parent 8f15bcf commit eeaf05aCopy full SHA for eeaf05a
src/utils/moment.js
@@ -2,5 +2,5 @@ import moment from "moment"
2
3
export const getLocaleTimestamp = (locale, timestamp) => {
4
moment.locale(locale)
5
- return moment(timestamp).format("MMM DD, YYYY")
+ return moment(timestamp, ["ll", "YYYY"]).format("ll")
6
}
0 commit comments