tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glenn Nielsen <gl...@voyager.apg.more.net>
Subject Re: datetime taglib not working with java.sql.Timestamp variable
Date Mon, 19 Nov 2001 13:40:11 GMT
The format tag has an attribute named "locale", if set to "true" the
clients locale is used when formatting the date.

Regards,

Glenn

Frederic Houbie wrote:
> 
> OK, I use getTime() to return a long, it's ok, but how can I tell the
> tag to use Locale settings for formating date ?
> 
> Frederic
> 
> -----Original Message-----
> From: glenn@zathras.earthdome.org [mailto:glenn@zathras.earthdome.org]
> On Behalf Of Glenn Nielsen
> Sent: samedi 17 novembre 2001 13:55
> To: Tag Libraries Users List
> Subject: Re: datetime taglib not working with java.sql.Timestamp
> variable
> 
> The datetime taglibrary doesn't support the java.sql.Timestamp class.
> According to the javadocs for java.sql.Timstamp, it and java.util.Date
> are not interchangeable. Currently the taglib uses java.text.DateFormat,
> 
> which only accepts a Date object.
> 
> Regards,
> 
> Glenn
> 
> Frederic Houbie wrote:
> >
> >    Part 1.1    Type: Plain Text (text/plain)
> >            Encoding: 7bit
> 
> --
> ----------------------------------------------------------------------
> Glenn Nielsen             glenn@more.net | /* Spelin donut madder    |
> MOREnet System Programming               |  * if iz ina coment.      |
> Missouri Research and Education Network  |  */                       |
> ----------------------------------------------------------------------
> 
> --
> To unsubscribe, e-mail:
> <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:taglibs-user-help@jakarta.apache.org>
> 
> --
> To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>

-- 
----------------------------------------------------------------------
Glenn Nielsen             glenn@more.net | /* Spelin donut madder    |
MOREnet System Programming               |  * if iz ina coment.      |
Missouri Research and Education Network  |  */                       |
----------------------------------------------------------------------

--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message