@@ -17,7 +17,7 @@ def to_local_iso(dt): |
||
| 17 | 17 |
"""aware datetime → '2026-10-29T00:00:00+08:00'(北京时间 ISO,小程序直接 new Date 解析)""" |
| 18 | 18 |
if not dt: |
| 19 | 19 |
return None |
| 20 |
- return '%s+08:00' % tc.local_string(utc_dt=dt, format='%Y-%m-%dT%H:%M:%S') |
|
| 20 |
+ return '%s+08:00' % tc.local_string(utc_dt=dt, format='%Y-%m-%d') |
|
| 21 | 21 |
|
| 22 | 22 |
|
| 23 | 23 |
class SalesResponsibilityInfo(BaseModelMixin): |