Fix wrong date in /info

This commit is contained in:
Ceda EI 2019-02-14 20:01:02 +05:30
parent bd2f38679c
commit e4311467b3
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ module.exports = () => (ctx) => {
text += "Channel ID: ";
text += `\`${forward.id}\`\n`;
text += "Message Date: `";
const date = new Date(reply.forward_date);
const date = new Date(reply.forward_date*1000);
text += date.toUTCString();
text += "`";