Skip to content

how to show DD MM YYYY format. It must be 01 January 2022 #290

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
dhairya-lakhera opened this issue Feb 11, 2022 · 3 comments
Open

how to show DD MM YYYY format. It must be 01 January 2022 #290

dhairya-lakhera opened this issue Feb 11, 2022 · 3 comments

Comments

@dhairya-lakhera
Copy link

No description provided.

@pradipdabhi
Copy link

pradipdabhi commented Apr 2, 2022

Try This!

//For DD MM YYYY
String convertDate(String? passDate){
return '${formatDate(DateTime.parse(passDate!), [
dd,
' ',
mm,
' ',
yyyy
])}';
}

@imhaka
Copy link

imhaka commented Jun 12, 2022

@anhhtbk
Copy link

anhhtbk commented Jan 3, 2023

You can create a Fork and edit format in file lib/src/date_format.dart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants