summaryrefslogtreecommitdiff
path: root/internal/queue/queue.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/queue/queue.go')
-rw-r--r--internal/queue/queue.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/queue/queue.go b/internal/queue/queue.go
index 71dde71..a5ed77c 100644
--- a/internal/queue/queue.go
+++ b/internal/queue/queue.go
@@ -39,7 +39,7 @@ func queueEntries(args config.Args) error {
now := time.Now()
for filePath := range ch {
destPath := fmt.Sprintf("%s/db/%s.%s.queued", args.GosDir,
- now.Format("20060102-150405"), filepath.Base(filePath))
+ filepath.Base(filePath), now.Format("20060102-150405"))
if err := os.Rename(filePath, destPath); err != nil {
return err
}