Add Duration.fromFormat(str, fmt)
Author: networkimprovCreated Jul 15, 2018Updated Aug 17, 2026
Labelsissue: enhancement
Luxon needs Duration.fromFormat(str, fmt) to support human-writable durations, e.g.
days[:hh[:mm[:ss[.ms]]]] (delimiters are locale-specific; all fields are arbitrary length)
Specific implementations for the above format are given in #292.
Source: moment/luxon