This commit is contained in:
syuilo 2018-08-07 13:25:50 +09:00
parent d4f7058574
commit 7bd33ecc72
36 changed files with 72 additions and 50 deletions

View file

@ -61,7 +61,7 @@ export default Vue.extend({
const date = new Date(message.createdAt).getDate();
const month = new Date(message.createdAt).getMonth() + 1;
message._date = date;
message._datetext = `${month}${date}`;
message._datetext = '%i18n:common.month-and-day%'.replace('{month}', month.toString()).replace('{day}', date.toString());
return message;
});
},