diff --git a/rc/admin.notice.go b/rc/admin.notice.go index 5b25a65..6477e2a 100644 --- a/rc/admin.notice.go +++ b/rc/admin.notice.go @@ -135,8 +135,8 @@ func postReminderHandler(mail_channel chan mail.Mail) gin.HandlerFunc { mailBody := notice.Description if notice.Deadline > 0 { - deadlineTime := time.Unix(int64(notice.Deadline), 0) - deadlineStr := deadlineTime.Format("02 Jan 2006 15:04") + deadlineTime := time.Unix(int64(notice.Deadline)/1000, 0) + deadlineStr := deadlineTime.Format("02 Jan 2006 15:04") mailBody += "\n\nDeadline: " + deadlineStr }