I tried to find a topic covering this but seeing that I can't find it I'll post it here:
Blizzard has implemented new countdown timers on buffs in Patch 2.1 for such buffs as Lifebloom. It's handy for druids to see when to reapply their Lifebloom before it runs out to keep the stack of 3 Lifeblooms going.
It's also handy for Regrowth HoTs, Rejuvenation, Renew and other short timed buffs.
Is it possible to implementent this in time of the patch? It'd be a great addition.
* UPDATED - name, rank, icon, count, duration, timeLeft = UnitBuff("target", i) -- Now returns duration and timeLeft for buffs you can cast.
* UPDATED - name, rank, icon, count, debuffType, duration, timeLeft = UnitDebuff("target", i); -- Now returns duration and timeLeft in some situations (?need details?).
The duration and timeleft are set if they are buffs/debuffs that you cast. The return values are now sorted so your buffs and debuffs are returned in the first indices. (e.g. yours, yours, others, ...)