1. Fabrik 3.9 has been released. If you have updated Joomla to 3.9, this is a required update.
    Dismiss Notice

UPDATE_COL not updating date element

Discussion in 'Community' started by marcelhavlik, Feb 13, 2019.

  1. marcelhavlik

    marcelhavlik Member

    Level: Community
    Hello guys, I cannot update date element with update_col plugin. Latest github version is installed.
    In my table is one column (jdate) with empty date value and need to set current datetime when pressed on this update_col button. The only think I have configured is "Update date" value.
    "Update message" gives a message that one record has been updated, but in table is still 0000-00-00 00:00:00
    Last edited: Feb 14, 2019
  2. lousyfool

    lousyfool Member

    Level: Community
    I can only guess but from what I read elsewhere here, the jdate element is very new and might have some hiccups, still.
    Use the good old standard "date" element instead (no "j")?
  3. marcelhavlik

    marcelhavlik Member

    Level: Community
    Thank you for your feedback, but the same issue is also with legacy date element.
    In the meantime i found a workaround - standard update option with eval value "return date("Y-m-d H:i:s");".
  4. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Community
    What did you originally have in the value for the update?

    -- hugh

Share This Page