Skip to content

Commit

Permalink
Small typo setCreatedOn to setCreatedAt
Browse files Browse the repository at this point in the history
  • Loading branch information
obozdag authored Nov 20, 2018
1 parent 35cf249 commit f79b406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user_guide_src/source/models/entities.rst
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ class property will be access through the ``setCreatedAt()`` and ``getCreatedAt(

In the ``setPassword()`` method we ensure that the password is always hashed.

In ``setCreatedOn()`` we convert the string we receive from the model into a DateTime object, ensuring that our timezone
In ``setCreatedAt()`` we convert the string we receive from the model into a DateTime object, ensuring that our timezone
is UTC so we can easily convert the the viewer's current timezone. In ``getCreatedAt()``, it converts the time to
a formatted string in the application's current timezone.

Expand Down

0 comments on commit f79b406

Please sign in to comment.