Skip to content
This repository was archived by the owner on Mar 17, 2023. It is now read-only.

Datepicker#7

Open
TNAJanssen wants to merge 2 commits into
kbond:masterfrom
TNAJanssen:datepicker
Open

Datepicker#7
TNAJanssen wants to merge 2 commits into
kbond:masterfrom
TNAJanssen:datepicker

Conversation

@TNAJanssen

Copy link
Copy Markdown

#3

@kbond

kbond commented Jun 17, 2013

Copy link
Copy Markdown
Owner

At first glance, I feel this should be an extension of symfony's date/datetime/time field types. I think only the widget itself needs to be different.

@TNAJanssen

Copy link
Copy Markdown
Author

You mean use DateTimeToStringTransformer?

@kbond

kbond commented Jun 17, 2013

Copy link
Copy Markdown
Owner

Yes, but I don't think we even have to specify a transformer. We only need to create a type that extends DateType that is named zenstruck_date and forces the widget option to be single_text.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants