Commit 432b32515d6d

Vincent Demeester <vincent@sbr.pm>
2024-07-31 10:30:42
go-org-readwise: fix date part (lowercase T)
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 963ff2b
Changed files (1)
tools
go-org-readwise
internal
tools/go-org-readwise/internal/org/sync.go
@@ -181,7 +181,7 @@ func denoteFilename(result readwise.Result) string {
 		keywords = "__" + strings.Join(tags, "_")
 	}
 
-	return strings.ToLower(fmt.Sprintf("%s%s--%s%s.org", date, signature, title, keywords))
+	return date + strings.ToLower(fmt.Sprintf("%s--%s%s.org", signature, title, keywords))
 }
 
 func sluggify(s string) string {