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

Date format has no effect in DateTime field (and no picker) #2823

Closed
ra-external opened this issue Apr 24, 2020 · 1 comment
Closed

Date format has no effect in DateTime field (and no picker) #2823

ra-external opened this issue Apr 24, 2020 · 1 comment

Comments

@ra-external
Copy link

When setting the format for the DateTime field

const DATE_FORMAT = 'DD/MM/YYYY hh:mm';
	publishDate: {
				label: 'Select publishing date',
				type: DateTime,
				format: DATE_FORMAT,
				yearPickerType: 'auto'
			},

the format configuration field has no effect. That is, the above code results in

image

Other variations of format have no effect.

Also, although a picker is indicated as a possibility, there is none (but I think this is a known issue).

@MadeByMike
Copy link
Contributor

No picker is a known issue. We have a bunch of improvements to do on the date fields and the formatting is one on our list. I'm closing this as a duplicate of #2746 - But this issue is very much on our radar! Thanks .

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

2 participants