You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by "Adrian Wiesmann (JIRA)" <de...@cayenne.apache.org> on 2007/05/23 10:51:44 UTC
[JIRA] Created: (CAY-792) Date has issues with different locales
when using XMLEncoder/XMLDecoder
Date has issues with different locales when using XMLEncoder/XMLDecoder
-----------------------------------------------------------------------
Key: CAY-792
URL: https://issues.apache.org/cayenne/browse/CAY-792
Project: Cayenne
Issue Type: Bug
Components: Cayenne Core Library
Affects Versions: 3.0
Environment: Problem was discovered when trying to encode data on a Linux machine and reading back on Windows with different locales.
Reporter: Adrian Wiesmann
Assigned To: Andrus Adamchik
Attachments: patch.txt
Date objects get encoded in this format when using the XMLEncoder (date.toString()):
"EEE MMM dd HH:mm:ss zzz yyyy"
which results in issues when trying to read back with the XMLDecoder under different locales. Even when using SimpleDateFormat with correct format string.
I applied a patch which encodes/decodes dates in this format:
"yyyy-MM-dd HH:mm:ss zzz"
which works better with different locales.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: unsubscribe
Posted by Andrus Adamchik <an...@objectstyle.org>.
On May 24, 2007, at 5:57 PM, Mike Henderson wrote:
> unsubscribe
Mike, not sure whether you tried to unsubscribe following the
standard automated procedure outlined here:
http://cayenne.apache.org/mailing-lists.html
But in any event, I just unsubscribed your address from dev via the
Admin interface.
Thanks
Andrus
Re: unsubscribe
Posted by Michael Gentry <bl...@gmail.com>.
When you subscribe, it also tells you in the first e-mail you receive, the
unsubscribe instructions. Oh well.
On a similar topic, though, I've tried to subscribe to Apache Legal twice
now and it still hasn't happened. Any idea how to do that?
Thanks,
/dev/mrg
On 5/25/07, Andrus Adamchik <an...@objectstyle.org> wrote:
>
>
> On May 25, 2007, at 8:04 AM, Rajkumar Jeyaraj wrote:
>
> > unsubscribe
>
> Sigh... I just manually unsubscribed Rajkumar's address.
>
> Just yesterday I send unsubscribe hint to this list. Doing it
> again... Anybody else who wants to unsubscribe - YOU CAN DO IT ON
> YOUR OWN, without bothering the admin:
>
> http://cayenne.apache.org/mailing-lists.html
>
> "To unsubscribe send empty email to dev-unsubscribe@cayenne.apache.org"
>
> Thanks
> Andrus
>
>
>
>
Re: unsubscribe
Posted by Andrus Adamchik <an...@objectstyle.org>.
On May 25, 2007, at 8:04 AM, Rajkumar Jeyaraj wrote:
> unsubscribe
Sigh... I just manually unsubscribed Rajkumar's address.
Just yesterday I send unsubscribe hint to this list. Doing it
again... Anybody else who wants to unsubscribe - YOU CAN DO IT ON
YOUR OWN, without bothering the admin:
http://cayenne.apache.org/mailing-lists.html
"To unsubscribe send empty email to dev-unsubscribe@cayenne.apache.org"
Thanks
Andrus
RE: unsubscribe
Posted by Rajkumar Jeyaraj <Ra...@ustri.com>.
unsubscribe
unsubscribe
Posted by Mike Henderson <mi...@mjhenderson.com>.
unsubscribe