1
1
mirror of https://gitlab.com/ceda_ei/Quadnite-Bot synced 2025-04-02 19:06:51 +02:00

Fix wrong date in /info

This commit is contained in:
Ceda EI 2019-02-14 20:01:02 +05:30
parent bd2f38679c
commit e4311467b3

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 += "`";