from django.utils import timezone
now_time = timezone.now()
can‘t subtract offset-naive and offset-aware datetimes
最新推荐文章于 2022-11-09 15:44:03 发布
from django.utils import timezone
now_time = timezone.now()