Skip to content

Commit

Permalink
新建任务条目时,添加完成日期为当天
Browse files Browse the repository at this point in the history
这样有助于防止忘记添加了
  • Loading branch information
dongrentianyu committed Aug 27, 2023
1 parent df95fb1 commit 67f622f
Showing 1 changed file with 5 additions and 22 deletions.
27 changes: 5 additions & 22 deletions src/time-for-task/components/Buttons.tid
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ title: $:/plugins/mabuqian/time-for-task/Components/Buttons
tmo_taskState="New"
tmo_timeSpent="30"
tmo_priority="Medium"
tmo_completionDate=""
tmo_completionDate=<<now "YYYY-0MM-0DD" >>
tmo_estimatedSpent=""
tmo_taskAssessment="">
<$action-sendmessage $message="tm-edit-tiddler" $param=<<createTiddler-title>>/>
Expand All @@ -27,7 +27,7 @@ title: $:/plugins/mabuqian/time-for-task/Components/Buttons
tmo_taskState="New"
tmo_timeSpent="30"
tmo_priority="Medium"
tmo_completionDate=""
tmo_completionDate=<<now "YYYY-0MM-0DD" >>
tmo_estimatedSpent=""
tmo_taskAssessment="">
<$action-sendmessage $message="tm-edit-tiddler" $param=<<createTiddler-title>>/>
Expand Down Expand Up @@ -59,7 +59,7 @@ title: $:/plugins/mabuqian/time-for-task/Components/Buttons
tmo_priority="Medium"
tmo_timeSpent="30"
tmo_dependency=<<currentTiddler>>
tmo_completionDate=""
tmo_completionDate=<<now "YYYY-0MM-0DD" >>
tmo_estimatedSpent=""
tmo_taskAssessment="">
<$action-sendmessage $message="tm-edit-tiddler" $param=<<createTiddler-title>>/>
Expand Down Expand Up @@ -104,7 +104,7 @@ title: $:/plugins/mabuqian/time-for-task/Components/Buttons
tmo_timeSpent="30"
super-tag={{$:/plugins/mabuqian/time-for-task/Config/task-tft}}
tmo_priority="Medium"
tmo_completionDate=""
tmo_completionDate=<<now "YYYY-0MM-0DD" >>
tmo_estimatedSpent=""
tmo_taskAssessment=""
>
Expand All @@ -124,7 +124,7 @@ title: $:/plugins/mabuqian/time-for-task/Components/Buttons
super-tag={{$:/plugins/mabuqian/time-for-task/Config/task-tft}}
tmo_priority="Medium"
tmo_dueDate=<<now "YYYY-0MM-0DD" >>
tmo_completionDate=""
tmo_completionDate=<<now "YYYY-0MM-0DD" >>
tmo_estimatedSpent=""
tmo_taskAssessment=""
>
Expand Down Expand Up @@ -187,23 +187,6 @@ title: $:/plugins/mabuqian/time-for-task/Components/Buttons
</$button>
\end

\define create-day-event()
<$button tooltip="点击创建时间记录条目">
<$action-createtiddler
$basetitle={{$:/state/TFT/PageLayout/create-tiddler-title}}
super-tag="time"
time_major=""
tmo_timeSpent="30"
time_form="events"
time_day=<<now "YYYY-0MM-0DD" >>
>
<<after-create-tiddler-without-parent>>
</$action-createtiddler>
{{$:/plugins/mabuqian/time-for-task/Images/timelapse}} 时刻
</$button>
\end


\define create-idea-without-parent()
<$button tooltip="点击创建想法条目">
<$action-createtiddler
Expand Down

0 comments on commit 67f622f

Please sign in to comment.