Different duration formats. Issue #315 fixed

Please, check if is correct. 
I believe this variable is unused now?