Hi, please try this: xs:dateTime("2017-07-07T18:30:00.1") - xs:dayTimeDuration("PT1S") = 2017-07-07T18:30:59.1 ????? or that: xs:dateTime("2017-07-07T18:00:59.1") - xs:dayTimeDuration("PT1M") = 2017-07-07T18:00:59.1 ????? I think, there is a bug :( Best Regards Jan -- Jan Dölle E-Mail: basex-list@id1.de Telefon +49-69-244502-0 Home: www.id1.de Information Design One AG, Baseler Straße 10, 60329 Frankfurt am Main Registereintrag: Amtsgericht Frankfurt am Main, HRB 52596 Vorstand: Robert Peters, Aufsichtsrat: Christian Hecht (Vorsitz)
Hi Jan, Thanks for the hint, this has been fixed [1,2]. Best, Christian [1] http://files.basex.org/releases/latest/ [2] https://github.com/BaseXdb/basex/commit/88a143f70efc74b1f4e917ab5085fa9b2af2... On Fri, Jul 7, 2017 at 6:52 PM, Jan Dölle <basex-list@id1.de> wrote:
Hi,
please try this:
xs:dateTime("2017-07-07T18:30:00.1") - xs:dayTimeDuration("PT1S") = 2017-07-07T18:30:59.1 ?????
or that:
xs:dateTime("2017-07-07T18:00:59.1") - xs:dayTimeDuration("PT1M") = 2017-07-07T18:00:59.1 ?????
I think, there is a bug :(
Best Regards
Jan
-- Jan Dölle E-Mail: basex-list@id1.de Telefon +49-69-244502-0 Home: www.id1.de
Information Design One AG, Baseler Straße 10, 60329 Frankfurt am Main Registereintrag: Amtsgericht Frankfurt am Main, HRB 52596 Vorstand: Robert Peters, Aufsichtsrat: Christian Hecht (Vorsitz)
participants (2)
-
Christian Grün -
Jan Dölle