Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi, Is there any update regarding this issue?

    As far as I see from code – custom field ‘date’-type always returns error during validation.
    Will it be fixed?

    Thanks.

    hi, once again.

    // We need to keep this for backwards compatibility
    // Note that this function will only convert dates coming on a string:
    // – in english
    // – inside the valid PHP date range
    // We are only using this when the value being checked is not a timestamp
    // And we have tried to avoid that situation from happening
    // But for old implementation, this happens for date conditions on conditional fields

    public static function strtotime($value, $format = null)

    So, I figured out, that date can be saved if the validation is off. Then I call wpcf_fields_date_view($params); in my functions.php from the theme.

    If there are any additional questions – feel free to ask.

    Thread Starter kevin

    (@k-win)

    Updated to 1.6.5.1 and the problem persists unless as @alexandrbig says, you de-activate the validation as a date.

    @kevin + @alexandrbig: Which language do you use? To me it seems that non-english languages break date validation (see here)

    Thread Starter kevin

    (@k-win)

    My WordPress is running on a Portuguese (pt_BR) language.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Date field not working anymore on 1.6.4’ is closed to new replies.