On Tuesday, June 28, 2016 at 10:00:04 AM UTC-5, Cédric Krier wrote:
>
> On 2016-06-28 16:35, Dominique Chabord wrote: 
> > For sharing what the title made me think of, I think it would be nice 
> > to have a count-down widget in some cases instead of a date widget : 
> > Here is an example of use case : 
> > we are 28/06 
> > - instead of showing "planned date 1/07", we might show "3 days left" 
> > - instead of showing "planned date 20/06", we might show "8 days late" 
> > or something like this. 
>
> Indeed we already have a field TimeDelta which could be used to display 
> such information. 
> But instead of "3 days left", it will show "3 d" and for "8 days late", 
> it will show "-8 d". I think it is normal to not have the "left/late" 
> suffix because it is subjective. 
>
> But of course such field will not be refreshed automatically when time 
> goes. So if it is used against "now", it is less accurate. But I think a 
> plugin widget is doable that will reuse the formatting of TimeDelta. And 
> if there are really a general need for that, it could be in base. 
>

+1
It could be a good improvement.
 

>
> -- 
> Cédric Krier - B2CK SPRL 
> Email/Jabber: [email protected] <javascript:> 
> Tel: +32 472 54 46 59 
> Website: http://www.b2ck.com/ 
>

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/0848b16b-fd15-4f65-aadc-64d38619c485%40googlegroups.com.

Reply via email to