how to show DD MM YYYY format. It must be 01 January 2022
dhairya-lakhera opened this issue · comments
Try This!
//For DD MM YYYY
String convertDate(String? passDate){
return '${formatDate(DateTime.parse(passDate!), [
dd,
' ',
mm,
' ',
yyyy
])}';
}
You can create a Fork and edit format in file lib/src/date_format.dart