1. Fabrik 3.8.1 has been released. It is mostly bug fixes and feature enhancements, but does include two new plugins (push notifications, and the sequence element). As usual we strongly recommend testing the new release on a sandbox if your application is mission critical, and always do an Akeeba backup before updating.
    Dismiss Notice

Advanced search and formated date

Discussion in 'Community' started by tportier, May 15, 2018.

  1. tportier

    tportier New Member

    Level: Community
    If I try to make an advanced search on a date element formated as d/m/Y, I got this error message :
    DateTime::__construct(): Failed to parse time string (15/06/2014) at position 0 (1): Unexpected character

    I had already noticed this error on an older version of fabrik but I thought it was corrected.

  2. Sophist

    Sophist Well-Known Member

    Level: Community
    Fancy having a go at fixing it yourself?

    If you install J!Dump you can add dump statements to debug the code and find out what the variables are holding so you can fix it.
  3. troester

    troester Well-Known Member Staff Member

    Level: Community
    There have been issues with date format with "/".
    Is the error also if you are using e.g. d-m-Y?
  4. tportier

    tportier New Member

    Level: Community
    It's ok with the d-m-Y formating. Thanks

Share This Page