[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-cp] [bugs #11691] java.util.Date toString() output should be loc
From: |
Andrew John Hughes |
Subject: |
[commit-cp] [bugs #11691] java.util.Date toString() output should be localized |
Date: |
Mon, 28 Mar 2005 15:25:36 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050105 Epiphany/1.4.7 (Debian package 1.4.7-3) |
Follow-up Comment #1, bugs #11691 (project classpath):
Further, it seems that all three (toString(), toGMTString, toLocaleString())
are wrong. At least, they don't match the JDK results.
Note that the locale for the following is en_GB.
>From JDK 1.5:
toString(): Mon Mar 28 16:19:33 BST 2005
toGMTString(): 28 Mar 2005 15:19:34 GMT
toLocaleString(): Mar 28, 2005 4:19:34 PM
>From Classpath/JamVM:
toString(): Mon Mar 28 15:15:50 GMT 2005
toGMTString(): 28/03/2005 15:15
toLocaleString(): 28/03/2005 15:15
None of the later make use of the local timezone (BST, the DST variant of
GMT). When this bug was filed, the local timezone was GMT, so these
differences were not as clear.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11691>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [commit-cp] [bugs #11691] java.util.Date toString() output should be localized,
Andrew John Hughes <=