Fixing duration format