From f79b406dac14081c56a5db7298e8410e1eeabac8 Mon Sep 17 00:00:00 2001 From: obozdag Date: Tue, 20 Nov 2018 11:31:28 +0300 Subject: [PATCH] Small typo setCreatedOn to setCreatedAt --- user_guide_src/source/models/entities.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user_guide_src/source/models/entities.rst b/user_guide_src/source/models/entities.rst index 437220075f13..f929bf439cf4 100644 --- a/user_guide_src/source/models/entities.rst +++ b/user_guide_src/source/models/entities.rst @@ -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.