Skip to content
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

FormBuilderDateTimePicker: option to change default format as dd/MM/yyyy in date typing screen #1349

Open
1 task done
RTRenjith opened this issue Jan 8, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@RTRenjith
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Package/Plugin version

9.1.1

What you'd like to happen

Option to change the default date format to dd/MM/yyyy

Alternatives you've considered

No response

Aditional information

No response

@RTRenjith RTRenjith added the enhancement New feature or request label Jan 8, 2024
@Anandh2708
Copy link

yes, I am also having the same issue in date picker.

@deandreamatias
Copy link
Collaborator

deandreamatias commented Jan 20, 2025

You can set the locale to accomplish this format. Like:

FormBuilderDateTimePicker(
  name: 'birthday',
  locale: const Locale('es'),
  format: DateFormat('dd-MM-yyyy'),
),

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

No branches or pull requests

3 participants