https://saxonica.plan.io/https://saxonica.plan.io/favicon.ico2018-01-03T18:19:15ZSaxonica Developer CommunitySaxonJS - Bug #3596: current-date and current-dateTime does not give the instant date/time stamphttps://saxonica.plan.io/issues/3596?journal_id=108522018-01-03T18:19:15ZMichael Kaymike@saxonica.com
<ul></ul><p>I think it would probably make sense for current-dateTime() to be updated whenever an ixsl:schedule-action occurs or when an event-driven template rule is activated. If we went this way we would have to make sure that the optimizer is aware that current-dateTime() and friends are no longer pure functions, and mustn't be promoted to global variables. If that proves problematic, then using saxon:timestamp() for the purpose might be an alternative way forward.</p>
<p>Note also that implicit-timezone() can also potentially change while a stylesheet is waiting for the next user event.</p> SaxonJS - Bug #3596: current-date and current-dateTime does not give the instant date/time stamphttps://saxonica.plan.io/issues/3596?journal_id=111712018-02-13T12:58:24ZDebbie Lockettdebbie@saxonica.com
<ul></ul><p>Function saxon:timestamp() implemented (1.0 and trunk branches).</p> SaxonJS - Bug #3596: current-date and current-dateTime does not give the instant date/time stamphttps://saxonica.plan.io/issues/3596?journal_id=113022018-03-07T11:40:30ZDebbie Lockettdebbie@saxonica.com
<ul></ul><p>JS unit test saxonExt/timestamp01 added (note saxon:timestamp() available from 9.8).</p>
<p>To do: add information to documentation.</p> SaxonJS - Bug #3596: current-date and current-dateTime does not give the instant date/time stamphttps://saxonica.plan.io/issues/3596?journal_id=114052018-03-27T14:44:44ZDebbie Lockettdebbie@saxonica.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li><li><strong>Fix Committed on JS Branch</strong> <i>1.0, Trunk</i> added</li></ul><p>Documentation updated: added subsection about available Saxon extensions in Conformance section (conformance/saxon-extensions).</p> SaxonJS - Bug #3596: current-date and current-dateTime does not give the instant date/time stamphttps://saxonica.plan.io/issues/3596?journal_id=115922018-05-09T10:21:10ZDebbie Lockettdebbie@saxonica.com
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li><li><strong>Fixed in JS Release</strong> set to <i>Saxon-JS 1.1.0</i></li></ul><p>Bug fix applied in the Saxon-JS 1.1.0 maintenance release.</p>