I am looking for javascript/jquery library which can provide me the UI and functionality to select ISO 8601 formatted duration.
UI should contain multiple cascaded select box where user can select Month, Hours, Days, Week... defined in ISO_8601.
Upon selection library should convert it into standard ISO_8601 duration formatted code and vice versa.
For example, "P3Y6M4DT12H30M5S" represents a duration of "three years, six months, four days, twelve hours, thirty minutes, and five seconds".