When do you plan to include support for ISO date format (yyyy-mm-dd) and 24h time in the date & time fields, respectively?
(i'm currently "mutilating" the plugin to cope with them both, for the site of a particular client… not a pretty sight!)
When do you plan to include support for ISO date format (yyyy-mm-dd) and 24h time in the date & time fields, respectively?
(i'm currently "mutilating" the plugin to cope with them both, for the site of a particular client… not a pretty sight!)
It won't be until after the 1.5 release. So hopefully we can work it into the 1.6 or 1.7 release. It's on our list. One of the major goals for 2011 will be refining and enhancing existing features as the bulk of the major features are now good to go with the 1.5 release.
I second this request to get ISO date format in the Post Custom Field as well as the option for 24 hour time as it's essential to help with sorting posts.
And hopefully this will allow the flexibility to have the end user select one format (DD-MM-YYYY for example) but that i can choose a different output (YYYY-MM-DD) - and a similar feature for time.
Thanks!
hI,
I also need the ISO date format in the Post Custom Field and a 24 hour time would be great.
I Use GF in combination with Events Calendar Pro to let visitors send in events. Works fine only I cannot use the date picker in GF because ECP does not recognize the date format from GF
Bump for the YYYY-MM-DD datepicker format. I need to be able to pass as a querystring to sort a CPT on several pages. I can pass the variable just fine but then I have work some crazy php date games to make it the standard format for comparison.
Any way to filter this field during the submit? I guess I can just do the date conversion on the target page. Ultimately I need to be able to do something like this with the redirect:
myurl.com/pagename/?mydate=YYYY-MM-DD
Thanks for any help guys.
Hi Studioleland,
Currently there is no one to format the date as it is populated in the redirect query string. On the page you are redirecting to, however, it is easy to format the date you'd like by using a combination of PHP's date() and strtotime() function. Here is an example:
<php
$mydate = $_GET['mydate'];
$date = date('Y-m-d', strtotime($mydate ));
?>
Okay - thanks for the update. I can do the reformat from the POST variable. Just figured I would ask to see if I could skip that step.
Gravity Forms v1.6 Beta 1 had already introduced a 24 hour time format to the Time Field and we have added additional international date format options to the Date Field in Gravity Forms v1.6 Beta 3 which is now available. Here is a list of the date formats now supported by the Date Field: