emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] Error in data input and output format for org-columns--summary


From: andrea
Subject: Re: [BUG] Error in data input and output format for org-columns--summary-estimate
Date: Sun, 9 Jul 2023 16:33:31 +0200

#+PROPERTY: Effort_ALL 0 0:10 0:30 1:00 2:00 3:00 4:00 5:00 6:00 7:00
#+COLUMNS: %30ITEM(Task) %30Effort(Estimated Effort){est+} %CLOCKSUM
* efforts
** task 1
:PROPERTIES:
:Effort:   3d
:END:
** task 2
:PROPERTIES:
:Effort:   3m-4m
:END:

Originally produces



That shows that days and months are wrongly counted the same

With the suggested patch produces



Showing that day and months are correctly handled, and reported.

Cheers,

  Andrea.


Da emacs-orgmode-bounces+andrea=fedeli.eu@gnu.org
A andrea@fedeli.eu
Cc emacs-orgmode@gnu.org
Data Sun, 09 Jul 2023 14:17:59 +0000
Oggetto Re: [BUG] Error in data input and output format for org-columns--summary-estimate

andrea@fedeli.eu writes:
 
> The matter is related to the fact that org-columns--summary-estimate, from org-colview.el, uses function string-to-number to take value on ranges; acting this way
> the unit is removed making impossible to distinguish between 1y and 1min . Similarly, on output, the two margins are produced a (format "%.0f" <value>), which --again-- is generally wrong as it does not tell anything about the utilized time unit.
 
May you please provide a concrete example demonstrating the problem?
 
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]