arbtt
arbtt copied to clipboard
Tags for today, this week, this month, and this year
Original report by utapyngo (Bitbucket: utapyngo, GitHub: utapyngo).
I want to be able to see how much time I have spent today, since midnight.
Currently I am using
#!haskell
$sampleage <= 13:00 ==> tag Today,
but it is not since midnight.
What I want is the $today
variable:
#!haskell
$date == $today => tag Today,
week $date == week $today => tag This-week,
month $date == month $today => tag This-month,
year $date == year $today => tag This-year,
Original comment by nomeata (Bitbucket: nomeata, GitHub: nomeata).
There are two issues here:
- Adding
$today
(or better:$now
, since it is a datetime). Quite a reasonable request. - Interpolating variables like
$date
and expressions like(year $date)
in strings. That is more tricky, and needs thought.
Original comment by utapyngo (Bitbucket: utapyngo, GitHub: utapyngo).
I agree. Do you want me to edit this issue and open another one?
Original comment by nomeata (Bitbucket: nomeata, GitHub: nomeata).
If you can open a new one, that would be helpful.
Original comment by nomeata (Bitbucket: nomeata, GitHub: nomeata).
Not really, other projects too important right now. Is that something that would be nice to have for you, or is it a serious show-stopper?