|
@ -691,7 +691,7 @@ func UpdateIssueDeadline(ctx *context.APIContext, form api.EditDeadlineOption) { |
|
|
var deadline time.Time |
|
|
var deadline time.Time |
|
|
if form.Deadline != nil && !form.Deadline.IsZero() { |
|
|
if form.Deadline != nil && !form.Deadline.IsZero() { |
|
|
deadline = time.Date(form.Deadline.Year(), form.Deadline.Month(), form.Deadline.Day(), |
|
|
deadline = time.Date(form.Deadline.Year(), form.Deadline.Month(), form.Deadline.Day(), |
|
|
23, 59, 59, 0, form.Deadline.Location()) |
|
|
|
|
|
|
|
|
23, 59, 59, 0, time.Local) |
|
|
deadlineUnix = timeutil.TimeStamp(deadline.Unix()) |
|
|
deadlineUnix = timeutil.TimeStamp(deadline.Unix()) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|