Skip to content

Commit f79b406

Browse files
authored
Small typo setCreatedOn to setCreatedAt
1 parent 35cf249 commit f79b406

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

user_guide_src/source/models/entities.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ class property will be access through the ``setCreatedAt()`` and ``getCreatedAt(
187187

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

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

0 commit comments

Comments
 (0)