perf: 优化用户创建邮件 (#7072)

* perf: 优化通知中的连接点击

* perf: 优化用户创建邮件

* perf: 优化时间日期

Co-authored-by: ibuler <ibuler@qq.com>
This commit is contained in:
fit2bot
2021-10-26 10:52:23 +08:00
committed by GitHub
parent 7c149fe91b
commit f88e5de3c1
7 changed files with 87 additions and 84 deletions

View File

@@ -25,7 +25,7 @@ def utc_now():
def local_now():
return as_current_tz(utc_now())
return dj_timezone.localtime(dj_timezone.now())
def local_now_display(fmt='%Y-%m-%d %H:%M:%S'):