修复日志查询时间时区问题,修改编辑任务时的提示

pull/1/head
Doflatango 8 years ago committed by miraclesu
parent 260b8557a6
commit 26f5f656b1

@ -87,7 +87,7 @@ func getPageSize(ps string) int {
func getTime(t string) time.Time { func getTime(t string) time.Time {
t = strings.TrimSpace(t) t = strings.TrimSpace(t)
time, _ := time.Parse("2006-01-02", t) time, _ := time.ParseInLocation("2006-01-02", t, time.Local)
return time return time
} }

@ -40,7 +40,7 @@
<label>并行数设置0 表示不限制</label> <label>并行数设置0 表示不限制</label>
<div class="ui icon input"> <div class="ui icon input">
<input type="number" ref="parallels" v-model:value="job.parallels" placeholder="任务执行超时时间"> <input type="number" ref="parallels" v-model:value="job.parallels" placeholder="任务执行超时时间">
<i ref="parallelstip" class="large help circle link icon" data-position="top right" data-content="" data-variation="wide"></i> <i ref="parallelstip" class="large help circle link icon" data-position="top right" data-html="<strong style='color:red'>单个节点</strong>上面同时可执行多少个任务针对某些任务执行时间很长但两次任务执行间隔较短时比较有用" data-variation="wide"></i>
</div> </div>
</div> </div>
</div> </div>

Loading…
Cancel
Save