This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Some examples of functions (e.g. timezone-from-date(xs:date('2000-06-12Z')) ) give an answer of PT0H (I even saw a -PT0H !), whilst the canonical form is PT0S.
Will fix editorially.
Closing bug because commenter has not objected to the resolution posted and more than two weeks have passed.