[Ml-yokadi] t_list "age" and "time left" field

Aurélien Gâteau aurelien.gateau
Mar 24 Fév 09:54:50 CET 2009


This morning I worked a bit on the "age" and "time left" columns of t_list.

I wanted "age" to be more compact, and "time left" to show me both the 
due date and the time left. Attached patches change the appearance from 
this:

ID|Title               |U  |S|Age          |Time left
---------------------------------------------------------
12|Crash boom          |2  |N|24 days      |
4 |hello               |0  |S|79 days      |-1 day, 0:51
5 |plop!               |0  |N|79 days      |1 day, 0:08
6 |bla-bli-blo         |0  |N|78 days      |
7 |\-bli-blo           |0  |N|78 days      |
8 |-bli-blo            |0  |N|78 days      |
10|this is a test      |0  |N|77 days      |6:08:09
14|Recent task         |0  |N|0:05:49      |
9 |foo -bar            |0  |N|1:51:51      |

to this:

ID|Title               |U  |S|Age     |Due date
--------------------------------------------------------------
12|Crash boom          |2  |N|3w, 3d  |
4 |hello               |0  |S|11w, 2d |23.02.2009 09:00 (-23h 8m)
5 |plop!               |0  |N|11w, 2d |25.02.2009 10:00 (1d)
6 |bla-bli-blo         |0  |N|11w, 1d |
7 |\-bli-blo           |0  |N|11w, 1d |
8 |-bli-blo            |0  |N|11w, 1d |
10|this is a test      |0  |N|11w     |16:00 (6h 8m)
14|Recent task         |0  |N|5m      |
9 |foo -bar            |0  |N|1h 51m  |

I am not really satisfied with the width of "Due date", but I think 
having both due date and time left is interesting. What do you think 
about this?

Aurélien
-------------- section suivante --------------
Une pièce jointe non texte a été nettoyée...
Nom: 0001-Show-age-in-a-more-compact-way.patch
Type: text/x-diff
Taille: 0 octets
Desc: non disponible
Url: http://sequanux.org/pipermail/ml-yokadi/attachments/20090224/f2c0cf8c/attachment.patch 


Plus d'informations sur la liste de diffusion Ml-yokadi