This is an xquery module for parsing datestrings in Internet Message Format (or IETF-Dates) to datetimes.
There is a function defined in the xquery 3.1 spec fn:parse-ietf-date
which effectively replaces imfd:to-dateTime
if implemented.
This module also supports formatting xs:dateTime to this format.