about summary refs log tree commit diff stats
path: root/pkgs/by-name/ts
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/ts')
-rw-r--r--pkgs/by-name/ts/tskm/src/interface/input/handle.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/by-name/ts/tskm/src/interface/input/handle.rs b/pkgs/by-name/ts/tskm/src/interface/input/handle.rs
index 76eea6dc..f9772f34 100644
--- a/pkgs/by-name/ts/tskm/src/interface/input/handle.rs
+++ b/pkgs/by-name/ts/tskm/src/interface/input/handle.rs
@@ -16,6 +16,7 @@ use std::{
 
 use anyhow::{Context, Result};
 use log::info;
+use taskchampion::chrono::Utc;
 
 use crate::{browser::open_in_browser, cli::InputCommand, state::State};
 
@@ -52,6 +53,11 @@ pub fn handle(command: InputCommand, state: &mut State) -> Result<()> {
                 tag_set.insert(tag);
             }
 
+            tag_set.insert(
+                Tag::new(format!("+{}", Utc::now().format("%Y-%m-%d")).as_str())
+                    .expect("hardcoded"),
+            );
+
             for line in file.lines().map(str::trim) {
                 if line.is_empty() {
                     continue;