Subject: | ISO8601 durations may contain number of weeks (PnW), but this isn't supported in DT:F:D:ISO8601 |
Hei,
According to https://en.wikipedia.org/wiki/ISO_8601#Durations a valid duration string may also contain just a number of weeks.
PnW
I don't have access to the actual ISO8601 standard documents, but if we're going to trust the wikipedia article on this, then there's a bug in the parse_duration_as_deltas method. :)
(I also see that format_duration has a $w available, but doesn't use it in it's return value)
- Salve
According to https://en.wikipedia.org/wiki/ISO_8601#Durations a valid duration string may also contain just a number of weeks.
PnW
I don't have access to the actual ISO8601 standard documents, but if we're going to trust the wikipedia article on this, then there's a bug in the parse_duration_as_deltas method. :)
(I also see that format_duration has a $w available, but doesn't use it in it's return value)
- Salve