xsl-list
[Top] [All Lists]

RE: [xsl] format-dateTime - getting "A.M." would like to get "AM"

2007-08-20 03:12:42
Perfect, thanks Michael.

-----Original Message-----
From: Michael Kay [mailto:mike(_at_)saxonica(_dot_)com]
Sent: 20 August 2007 11:05
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] format-dateTime - getting "A.M." would like to get
"AM"

try [PN,2-2]

Michael Kay
http://www.saxonica.com/

-----Original Message-----
From: David Murphy [mailto:david(_at_)firechaser(_dot_)com]
Sent: 20 August 2007 10:00
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] format-dateTime - getting "A.M." would like to get
"AM"

Hello

Using the following

<xsl:value-of select="format-dateTime(production/start-date,'[h]:[m]
[PN]','en',(),())" />

I get a result of " Thursday 13 September 2007 - 3:00 P.M. "

But I need to format the P.M. as simply PM

I'm using Saxon 8.

Thanks, David


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--