update format for printDate

This commit is contained in:
Jonny_Bro (Nikita) 2023-08-08 22:58:43 +05:00
parent e8a7d9670f
commit 0c8ad6ce27
No known key found for this signature in database
GPG key ID: 28B0D27F8DD5A4C9

View file

@ -119,7 +119,7 @@ class Profile extends BaseCommand {
},
{
name: interaction.translate("economy/profile:BIRTHDATE"),
value: !userData.birthdate ? interaction.translate("common:NOT_DEFINED") : client.functions.printDate(client, new Date(userData.birthdate), null, data.guildData.language),
value: !userData.birthdate ? interaction.translate("common:NOT_DEFINED") : client.functions.printDate(client, new Date(userData.birthdate), "Do MMMM YYYY", data.guildData.language),
inline: true,
},
{