From 64a17e4db98b4c626d2d9efc9ca816179bb835e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=9E=E3=83=AA=E3=82=A6=E3=82=B9?= Date: Sat, 17 Oct 2020 15:32:07 +0100 Subject: [PATCH] Specified time.RFC3339 as Format --- z/tyme.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/z/tyme.go b/z/tyme.go index cfb745d..e0881cc 100644 --- a/z/tyme.go +++ b/z/tyme.go @@ -59,8 +59,8 @@ func (tyme *Tyme) FromEntries(entries []Entry) error { Category: "", Distance: "0", Duration: duration.StringFixed(0), - Start: entry.Begin.Format("2006-01-02T15:04:05-0700"), - End: entry.Finish.Format("2006-01-02T15:04:05-0700"), + Start: entry.Begin.Format(time.RFC3339), + End: entry.Finish.Format(time.RFC3339), Note: entry.Notes, Project: entry.Project, Quantity: "0",