From c9808c96c73a7037e0c39ce452070393bb60dcbd Mon Sep 17 00:00:00 2001 From: cuu Date: Mon, 24 Dec 2018 07:02:06 +0000 Subject: [PATCH] titlebar time --- sysgo/UI/title_bar.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysgo/UI/title_bar.go b/sysgo/UI/title_bar.go index 52c368c..e91ccb3 100644 --- a/sysgo/UI/title_bar.go +++ b/sysgo/UI/title_bar.go @@ -453,7 +453,7 @@ func (self *TitleBar) Draw(title string) { self.ClearCanvas() self.Title = title - cur_time := jodaTime.Format("HH:mm", gotime.Now()) + cur_time := jodaTime.Format("HH:mm", self.GetLocalTime()) time_text_w, time_text_h := font.Size(self.TimeFont, cur_time) title_text_w, title_text_h := font.Size(self.TitleFont, self.Title)