debug_1
This commit is contained in:
@@ -177,7 +177,11 @@ class VkPost(db.Model):
|
||||
"selected_users": self.selected_users,
|
||||
"full_name": self.full_name,
|
||||
"post_id": self.post_id,
|
||||
"publish_at": self.publish_at,
|
||||
"publish_at": (
|
||||
self.publish_at.strftime("%Y-%m-%d %H:%M:%S")
|
||||
if self.publish_at
|
||||
else None
|
||||
),
|
||||
"created_at": self.created_at.strftime("%Y-%m-%d %H:%M:%S"),
|
||||
"updated_at": self.updated_at.strftime("%Y-%m-%d %H:%M:%S"),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user