Re: [basex-talk] Incorrect use of timezone Z instead of implicit timezone

2012-07-09 Thread Christian GrĂ¼n
Gunther, thanks for your observation. The issue has been fixed with the latest snapshot [1]. It also fixes comparisons between dates, e.g.: current-date() eq xs:date(substring(string(current-date()), 1, 10)) Best, Christian [1] http://files.basex.org/releases/latest/ _

[basex-talk] Incorrect use of timezone Z instead of implicit timezone

2012-07-08 Thread Gunther Rademacher
As explained in http://www.w3.org/TR/xquery-operators/#func-subtract-dates the implicit timezone should be used for augmenting an xs:date without a timezone before subtracting it from one with a timezone. BaseX however appears to be using timezone Z in this case. The following xquery demo