[JIRA] Created: (COMETD-41) HttpCookieStore should specify Locale when parsing Date

0 views
Skip to first unread message

Federico Fissore (JIRA)

unread,
Nov 19, 2009, 6:57:41 AM11/19/09
to comet...@googlegroups.com
HttpCookieStore should specify Locale when parsing Date
-------------------------------------------------------

Key: COMETD-41
URL: http://bugs.cometd.org/browse/COMETD-41
Project: Cometd
Issue Type: Bug
Components: javascript-common
Environment: gentoo x86_64, java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)
Reporter: Federico Fissore
Attachments: HttpCookieStore.diff

Javascript Date.toUTCString() returns a string version of the Date using the English language. If the JVM is running with a different Locale, SimpleDateFormat.parse() will fail.
Attached patch

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://bugs.cometd.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Simone Bordet (JIRA)

unread,
Nov 19, 2009, 3:50:00 PM11/19/09
to comet...@googlegroups.com

[ http://bugs.cometd.org/browse/COMETD-41?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simone Bordet resolved COMETD-41.
---------------------------------

Fix Version/s: 1.0.0rc1
Resolution: Fixed
Assignee: Simone Bordet

Patch applied, thanks.

> HttpCookieStore should specify Locale when parsing Date
> -------------------------------------------------------
>
> Key: COMETD-41
> URL: http://bugs.cometd.org/browse/COMETD-41
> Project: Cometd
> Issue Type: Bug
> Components: javascript-common
> Environment: gentoo x86_64, java version "1.6.0_17"
> Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
> Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)
> Reporter: Federico Fissore
> Assignee: Simone Bordet
> Fix For: 1.0.0rc1
Reply all
Reply to author
Forward
0 new messages