GNOME Bugzilla – Bug 758192
exslt:date:add resets timezone to UTC
Last modified: 2016-04-28 19:02:11 UTC
Created attachment 315705 [details] files to reproduce the following xsl fragments should produce identical output, but … <xsl:value-of select="date:date-time()"/> => 2015-11-16T20:23:09+01:00 <xsl:value-of select="date:add( date:date-time(), 'P0M')"/> => 2015-11-16T19:23:09Z both in same xslt-template and same xsltproc run. libxslt1.1:amd64 1.1.26-14.1 libxml2:amd64 2.8.0+dfsg1-7+wheezy4 Debian 7.9 reproduce with attached files: xsltproc lib/test.xsl lib/test.xml => <?xml version="1.0"?> 2015-11-16T20:49:17+01:00 2015-11-16T19:49:17Z regards, Filip Moritz
Fixed with the following commit: https://git.gnome.org/browse/libxslt/commit/?id=b4d496ddfe33b3e22fc3e70179c4a6e49702b4cf