[MOD] XQuery, format-date/time: parsing code revised