Has anyone successfully compared ISO 8601 periods in JavaScript to determine which period has a longer duration? For example, is P6M (6 months) longer than PT10M (10 minutes)?
I haven't been able to find any built-in solutions for this. Any suggestions on how I can accomplish this?