Specified time.RFC3339 as Format

This commit is contained in:
マリウス 2020-10-17 15:32:07 +01:00
parent 1bae202468
commit 64a17e4db9
No known key found for this signature in database
GPG key ID: C228EF0A530AF06F

View file

@ -59,8 +59,8 @@ func (tyme *Tyme) FromEntries(entries []Entry) error {
Category: "", Category: "",
Distance: "0", Distance: "0",
Duration: duration.StringFixed(0), Duration: duration.StringFixed(0),
Start: entry.Begin.Format("2006-01-02T15:04:05-0700"), Start: entry.Begin.Format(time.RFC3339),
End: entry.Finish.Format("2006-01-02T15:04:05-0700"), End: entry.Finish.Format(time.RFC3339),
Note: entry.Notes, Note: entry.Notes,
Project: entry.Project, Project: entry.Project,
Quantity: "0", Quantity: "0",