@@ -50,7 +50,7 @@ class GroupInfo(CreateUpdateMixin): |
||
| 50 | 50 |
'group_desc': self.group_desc, |
| 51 | 51 |
'group_from': self.group_from, |
| 52 | 52 |
'group_lock': self.group_lock, |
| 53 |
- 'created_at': self.created_at, |
|
| 53 |
+ 'created_at': self.created_at.replace(microsecond=0), |
|
| 54 | 54 |
} |
| 55 | 55 |
|
| 56 | 56 |
def users(self, admin=True, user_id=None): |
@@ -174,7 +174,7 @@ class GroupPhotoInfo(CreateUpdateMixin): |
||
| 174 | 174 |
'avatar': self.avatar, |
| 175 | 175 |
'comment_num': self.comment_num, |
| 176 | 176 |
'thumbup_num': self.thumbup_num, |
| 177 |
- 'created_at': self.created_at, |
|
| 177 |
+ 'created_at': self.created_at.replace(microsecond=0), |
|
| 178 | 178 |
} |
| 179 | 179 |
|
| 180 | 180 |
|
@@ -199,7 +199,7 @@ class PhotoCommentInfo(CreateUpdateMixin): |
||
| 199 | 199 |
'nickname': self.nickname, |
| 200 | 200 |
'avatar': self.avatar, |
| 201 | 201 |
'comment': self.comment, |
| 202 |
- 'created_at': self.created_at, |
|
| 202 |
+ 'created_at': self.created_at.replace(microsecond=0), |
|
| 203 | 203 |
} |
| 204 | 204 |
|
| 205 | 205 |
|
@@ -75,5 +75,5 @@ class UserMessageInfo(CreateUpdateMixin): |
||
| 75 | 75 |
'msg_title': self.msg_title, |
| 76 | 76 |
'msg_content': self.msg_content, |
| 77 | 77 |
'read': self.read, |
| 78 |
- 'created_at': self.created_at, |
|
| 78 |
+ 'created_at': self.created_at.replace(microsecond=0), |
|
| 79 | 79 |
} |
@@ -47,6 +47,6 @@ class OrderInfo(CreateUpdateMixin): |
||
| 47 | 47 |
'to_lid': self.to_lid, |
| 48 | 48 |
'to_uid': self.to_uid, |
| 49 | 49 |
'pay_status': self.pay_status, |
| 50 |
- 'paid_at': self.paid_at, |
|
| 51 |
- 'created_at': self.created_at, |
|
| 50 |
+ 'paid_at': self.paid_at.replace(microsecond=0), |
|
| 51 |
+ 'created_at': self.created_at.replace(microsecond=0), |
|
| 52 | 52 |
} |