This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 29770 - [QT3TS] format-dateTime-006
Summary: [QT3TS] format-dateTime-006
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Candidate Recommendation
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: O'Neil Delpratt
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-10 15:55 UTC by Tim Mills
Modified: 2016-08-19 13:21 UTC (History)
0 users

See Also:


Attachments

Description Tim Mills 2016-08-10 15:55:08 UTC
Under the rules for formatting the year component, 

'[Yi3-3]'

will cause the year to be formatted as (year % 1000), since

component specifier = Y (year)
first presentation modifier = 1 (default, a decimal-digit-pattern)
second presentation modifier = i
width modifier = 3-3
N = 3 (the greater of 2 and 3).
Comment 1 Tim Mills 2016-08-19 13:20:59 UTC
I have taken the liberty of fixing this.