[Bug 21222] Tests that depend on a fixed timezone (UTC)

https://www.w3.org/Bugs/Public/show_bug.cgi?id=21222

--- Comment #2 from Michael Kay <mike@saxonica.com> ---
That's tricky because implicit-timezone() is required to be consistent with
current-dateTime(), therefore implementations might not be able to set it
independently. And they certainly might have difficulty setting it to different
values in the course of a single test run (because it might require changing
the system clock).

Also, since we've called for test results, I don't particular want to make
people change their test drivers at this juncture.

I would prefer a solution that eliminates the dependency, e.g. change
cbcl-gDay-equal-019 to

xs:gDay("---31+00:15") eq xs:gDay("---31")

(we can safely assume that no-one is running with implicit timezone = +00:15,
even though it is legal)

Similarly change cbcl-subtract-dates-003 to

xs:date("2008-12-31") - xs:date("2002-12-31+01:00") - implicit-timezone()

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 14 March 2013 14:39:43 UTC