summaryrefslogtreecommitdiff
path: root/internal/entry/entry.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/entry/entry.go')
-rw-r--r--internal/entry/entry.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/entry/entry.go b/internal/entry/entry.go
index 7bb4930..0874e64 100644
--- a/internal/entry/entry.go
+++ b/internal/entry/entry.go
@@ -95,6 +95,7 @@ func (e *Entry) MarkPosted() error {
if e.State == Posted {
return errors.New("entry is already posted")
}
+ // TODO: Also update the timestamp to reflect the posting time in the file path.
if err := os.Rename(e.Path, strings.TrimSuffix(e.Path, ".queued")+".posted"); err != nil {
return err
}