From 5c8ac93755a446f5509788e78b90373bf8b5825b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E4=BC=9F?= Date: Tue, 14 Jan 2020 18:09:42 +0800 Subject: [PATCH] replace utcnow to now for timestamp attributes --- orator/orm/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orator/orm/model.py b/orator/orm/model.py index f5e62887..da742e29 100644 --- a/orator/orm/model.py +++ b/orator/orm/model.py @@ -1871,7 +1871,7 @@ def fresh_timestamp(self): :return: pendulum.Pendulum """ - return pendulum.utcnow() + return pendulum.now() def fresh_timestamp_string(self): """