Skip to content

Commit 051e171

Browse files
authored
Merge pull request #1518 from obozdag/patch-1
Small typo: changed setCreatedOn to setCreatedAt
2 parents 35cf249 + f79b406 commit 051e171

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)