Re: date-format question

James Fuller <[email protected]>
Newsgroups gmane.text.xml.xslt.extensions
Organization Webcomposite
Message-ID <[email protected]>
Blaine Garrett wrote:

>Hi, 
>
>Introductions... I am new to the list. Hopefully I will be able to contribute
>quite a bit. I have been doing XSL dev for a few years now and really like what
>is going on with the exslt libs.
>
>Question :
>I store dates in mysql in its datetime format (yyyy-mm-dd hh:mm:ss). I would
>like to leave the formatting of the date up to the end user and thus do not
>want to format the date at the mysql level, but rather at the XSL level. Thus I
>installed the date:date-format library. However, the date-format template is
>looking for the date in the format of yyyy-mm-ddThh:mm:ss (note the 'T' between
>the date and time). Thus dates directly from mysql are not able to be formatted.
>
>I found the line that cases out the 'T' and added an OR condition for a space
>and it seemingly works fine now with mysql dates.
>
>Could/should/would this be added to the main version?
>  
>

Hello Blaine,

EXSLT is undergoing some transformation at the moment, so pls bear with
us whilst we are revamping existing distro.

I would suggest that you simply send your amended template with
appropraite subject line to EXSLT manager list (or this list) at some
point we will decide upon all the changes/amendments/bug fixes that
people have submitted.

many thx, Jim Fuller
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.