I making a data and inside of data must have string time. Like :
"createdDate": "27-06-2021 13:10",
// I dont know did made true or not.
( In my country its like DD/MM/YYYY by the way. )
I need calculate it then i need write like "Its created X ( calculated number ) day/week ago" How can i make it ? thanks for all helps!
{moment("10052021", "DDMMYYYY").fromNow()}
` its giving english result. – Uğurcan Uçar Jun 29 '21 at 21:39