Welcome Guest, Not a member yet? Register   Sign In
DateTime Fields Problem
#5

(01-15-2021, 02:33 PM)thedragon655 Wrote:
(01-15-2021, 11:11 AM)iRedds Wrote: Does the $c variable contain an instance of the Entity class?
yes it does contain  an entity class of comments and i display them with a join to the users table  in order to display the correct user comment

Have you defined the $dates property of the class? As here.
PHP Code:
class User extends Entity
{
    protected $dates = ['created_at''updated_at''deleted_at'];


https://codeigniter.com/user_guide/model...e-mutators
Reply


Messages In This Thread
DateTime Fields Problem - by thedragon655 - 01-15-2021, 06:37 AM
RE: DateTime Fields Problem - by iRedds - 01-15-2021, 11:11 AM
RE: DateTime Fields Problem - by thedragon655 - 01-15-2021, 02:33 PM
RE: DateTime Fields Problem - by iRedds - 01-15-2021, 06:49 PM
RE: DateTime Fields Problem - by thedragon655 - 01-16-2021, 05:56 AM
RE: DateTime Fields Problem - by demyr - 01-15-2021, 02:29 PM
RE: DateTime Fields Problem - by thedragon655 - 01-16-2021, 06:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB