ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> exslt
exslt
[exslt] date/time functions
by Jeni Tennison other posts by this author
Mar 22 2002 11:53AM messages near this date
Re: [exslt] Xalan-Java adds EXLST extensions | [exslt] Xalan-Java adds EXLST extensions
Hi,

Thanks for sending all those bugs in the date/time functions and
prompting me to fix them. For the record, I've:

1. Fixed date.js/date.msxml.xsl:
   - _formatDate() thanks to Bruce Rindahl
   - parseDate() thanks to Bruce Rindahl
   - _validDuration() thanks to Bruce Krautbauer

2. Fixed the bug in date.add.template.xsl/date.add.function.xsl
   reported by Bruce Krautbauer, about adding negative durations (or
   at least that particular instance...)

3. Fixed the bug in date.add.template.xsl/date.add.function.xsl
   reported by Bruce Krautbauer, about adding billionths of seconds in
   durations. I think that this one is due to some kind of strange
   floating arithmetic thing - try doing 0.0000001 + 0.000000001 and
   you come out with 0.0000001009999999999999999 rather than
   0.000000101 as you'd expect. But I've now got it reporting
   ...T00:00:00.000000100999999999999999 rather than
   ...T00:00:00.000000100, which is probably better.

The fixes are currently being uploaded.

Cheers,

Jeni
---
Jeni Tennison
http://www.jenitennison.com/

_______________________________________________
exslt mailing list
list@[...].org
http://www.exslt.org/list

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved