-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Note about custom formats and the HTML5 date type #2975
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
Conversation
xabbuh
commented
Sep 13, 2013
Q | A |
---|---|
Doc fix? | yes |
New docs? | no |
Applies to | all |
Fixed tickets | #2973 |
.. note:: | ||
|
||
If you want your field to be rendered as a HTML5 date field, you have to use | ||
a ``single_text`` widget and the ``yyyy-MM-dd`` format (the RFC 3339 format). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you should note that this is the default format
Good point, I added a link. Though I chose to link to the HTML version of RFC 3339. |
+1 I couldn't find the HTML version :) |
Note about custom formats and the HTML5 date type
… default values and tweaking related details
Thanks @xabbuh! I expanded on this a bit more in sha: 1b874ce - as I realized our default values were not quite right anymore and our code example didn't make as much sense as it could. I also moved the help message into the included Cheers! |
Woops - the duplicate note I left was removed in sha: cc9bccd |
Does this also work for the |
@xabbuh it should - |