Kaare Rasmussen wrote:
I wanted to ask about that module too. It's not possible to format a duration so I get hours:minutes? (E.g. 144:22). Seems to me that I can't get hours > 23 if I normalize.

I'm not happy with the formatting/normalizing in that module at the moment, but until DateTime works for non UTC math, don't expect any changes :)

I'll probably look at some sort of extended system for the formats:

%h   == hours in the normalised time
%.h  == duration expressed as an integer number of hours
%.2h == duration expressed in hours to two decimal places

So to get the format you want, the format is '%.h:%m'

But as I said, that wont be happening until the date math is working for non-UTC zones.

Cheers!
Rick Measham

Reply via email to