Fix typo
Export duration parsing from lib