Fix wrong date in /info
This commit is contained in:
parent
bd2f38679c
commit
e4311467b3
|
@ -24,7 +24,7 @@ module.exports = () => (ctx) => {
|
||||||
text += "Channel ID: ";
|
text += "Channel ID: ";
|
||||||
text += `\`${forward.id}\`\n`;
|
text += `\`${forward.id}\`\n`;
|
||||||
text += "Message Date: `";
|
text += "Message Date: `";
|
||||||
const date = new Date(reply.forward_date);
|
const date = new Date(reply.forward_date*1000);
|
||||||
text += date.toUTCString();
|
text += date.toUTCString();
|
||||||
text += "`";
|
text += "`";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue