1. Fabrik 3.9 has been released. If you have updated Joomla to 3.9, this is a required update.
    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