import moment from 'moment'; import 'moment/locale/es';. Then whenever you need it just do: moment.locale('es') moment(date).format("DD .
確定! 回上一頁