Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#20 Day of week gets wrong answer

v6.4.2
closed
Michael Kay
5
2012-10-08
2001-08-06
Michael Kay
No

In the EXSLT dates-and-times module, the functions
dayInWeek() and dayName() return the wrong answer.

Fix: on line 361 of com.icl.saxon.exslt.Date.java,
change

(int)yy-1,

to

(int)mm-1,

Present in 6.4.3 and all releases since EXSLT date and
time support was introduced.

Discussion