From 26f5f656b1bad6ec31328abe8247261772e108ea Mon Sep 17 00:00:00 2001 From: Doflatango Date: Mon, 20 Mar 2017 11:15:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=97=A5=E5=BF=97=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E6=97=B6=E9=97=B4=E6=97=B6=E5=8C=BA=E9=97=AE=E9=A2=98?= =?UTF-8?q?=EF=BC=8C=E4=BF=AE=E6=94=B9=E7=BC=96=E8=BE=91=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E6=97=B6=E7=9A=84=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/base.go | 2 +- web/ui/src/components/Job.vue | 2 +- web/ui/src/components/JobEdit.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/base.go b/web/base.go index ebf87d5..8b4c513 100644 --- a/web/base.go +++ b/web/base.go @@ -87,7 +87,7 @@ func getPageSize(ps string) int { func getTime(t string) time.Time { t = strings.TrimSpace(t) - time, _ := time.Parse("2006-01-02", t) + time, _ := time.ParseInLocation("2006-01-02", t, time.Local) return time } diff --git a/web/ui/src/components/Job.vue b/web/ui/src/components/Job.vue index f74ef40..adee2a9 100644 --- a/web/ui/src/components/Job.vue +++ b/web/ui/src/components/Job.vue @@ -41,7 +41,7 @@
编辑
开启
暂停
-
+
删除
diff --git a/web/ui/src/components/JobEdit.vue b/web/ui/src/components/JobEdit.vue index c977224..a0d11dd 100644 --- a/web/ui/src/components/JobEdit.vue +++ b/web/ui/src/components/JobEdit.vue @@ -40,7 +40,7 @@
- +