projects
/
kraftakt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e694a51
)
Fix parsing of activity times.
author
Florian Forster
<ff@octo.it>
Sun, 28 Jan 2018 19:54:45 +0000
(20:54 +0100)
committer
Florian Forster
<ff@octo.it>
Sun, 28 Jan 2018 19:54:45 +0000
(20:54 +0100)
gfitsync.go
patch
|
blob
|
history
diff --git
a/gfitsync.go
b/gfitsync.go
index
f913134
..
2c9a54b
100644
(file)
--- a/
gfitsync.go
+++ b/
gfitsync.go
@@
-329,7
+329,7
@@
func handleNotification(ctx context.Context, s *fitbit.Subscription) error {
continue
}
- startTime, err := time.ParseInLocation("2006-01-02T15:04
:05
", a.StartDate+"T"+a.StartTime, profile.Timezone)
+ startTime, err := time.ParseInLocation("2006-01-02T15:04", a.StartDate+"T"+a.StartTime, profile.Timezone)
if err != nil {
errs = append(errs, fmt.Errorf("gfitClient.SetActivities() = %v", err))
return