I hope this thread is the right place to post this. If not I apologize.
As has been mentioned earlier in this thread, the dogtag "Auraduration(aura,unit)" has been giving the wrong value for debuffs since a chance in the Warcraft API.
I think it's possible to make it work again by opening the file: "\libs\LibDogTag-Unit-3.0\Categories\Auras.lua"
and moving
for k, time in pairs(v) do
v[k] = time + currentTime
end
from line 131 to line 114.
This solved the problem for me, however there was another error I was not able to track down.
Tracking a buff will return the correct value until another buff is applied. When another buff gets applied, auraduration refreshes the duration of the original buff to full, even though the buff might be about to run out.
I was hoping someone will have a solution to this.