Open GoogleCodeExporter opened 8 years ago
[deleted comment]
Xquery Instruction current-date() was not being deterministic in its behaviour.
For some dates the format returned was:
2013-05-02+00:01
and for some other dates the format returned was:
2013-05-02z
Since the developers were using sub-string-before() function using the '+' as
the delimiter, when the returned date terminated in z, the system produced
errors, by not being able to execute the function start-end-of-week().
I've replaced all current-date() for current-dateTime(), and optimized the code
of start-end-of-week() function, replacing the switch case instruction.
Original comment by toolzi...@gmail.com
on 10 Jan 2014 at 11:33
Original issue reported on code.google.com by
toolzi...@gmail.com
on 9 Jan 2014 at 3:41