Bug #2667
closed
format-date() week-in-month numbering is incorrect
Category:
XPath conformance
Applies to branch:
9.6, 9.7
Fix Committed on Branch:
9.6, 9.7
Fixed in Maintenance Release:
Description
See W3C specification/test bugs 29493 and 29515.
Saxon gives the result of
format-date(xs:date('2008-03-01'), '[w]')
as 5 when the correct result is 4.
- Status changed from New to Resolved
- Fix Committed on Branch 9.6, 9.7 added
Fix committed for 9.7 and 9.6 branches. Correction made to getWeekNumberWithinMonth() method of DateValue: for days before week 1, calculate week number of last week of previous month (it is not always 5).
- % Done changed from 0 to 100
- Fixed in Maintenance Release 9.7.0.4 added
Bug fix applied in the Saxon 9.7.0.4 maintenance release. Leave open until patched applied in the 9.6 maintenance release.
- Status changed from Resolved to Closed
- Fixed in Maintenance Release 9.6.0.9 added
- Fixed in Maintenance Release deleted (
9.7.0.4)
Bug fix applied in the Saxon 9.6.0.9 maintenance release.
- Sprint/Milestone set to 9.7.0.4
- Fixed in Maintenance Release 9.7.0.4 added
Please register to edit this issue
Also available in: Atom
PDF