Skip to content

Entities errors #1727

Description

@keulu-ing

name: Bug report
about: Help us improve the framework by reporting bugs!


Describe the bug
Entities Getter & Setter not set automatically

CodeIgniter 4 version
alpha-5

Affected module(s)
Model / Entities

Expected behavior, and steps to reproduce if appropriate
i'd folow this example : https://codeigniter4.github.io/CodeIgniter4/models/entities.html#handling-business-logic.

2 things :

  • created_at, updated_at, deleted_at are not cast to Date Object
  • call $userEntity->getCreatedAt(); and i got an error about $this->timezone;

see screenshot
capture du 2019-02-16 14-27-58

cheers :)

Context

  • OS: linux mint debian edition 2
  • Web server : nginx
  • PHP version : php7.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions