KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Date display format issue #386

Open mike opened this topic on on Jul 23, 2018 - 3 comments

mike commented on Jul 23, 2018

Hello Support, Trying to change date format

->pipe(new DateTimeFormat(array(
      "Date_form"=>array(
         "from"=>"Y-m-d H:i:s",
                "to"=>"F j, Y"
    ))));

getting error

error-  Array ( [type] => 1 [message] => Call to a member function format() on a non-object [file] =>
KoolReport commented on Jul 23, 2018

One question: does your datetime column contain null value?

mike commented on Jul 24, 2018

yes..

KoolReport commented on Jul 25, 2018

I have told dev.team about this issue. I will come back to you soon.

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
None yet

None