Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 54268 invoked from network); 13 Feb 2006 15:49:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Feb 2006 15:49:03 -0000 Received: (qmail 13495 invoked by uid 500); 13 Feb 2006 15:49:01 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 13470 invoked by uid 500); 13 Feb 2006 15:49:01 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 13461 invoked by uid 99); 13 Feb 2006 15:49:01 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Feb 2006 07:49:00 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id B3B8BDE for ; Mon, 13 Feb 2006 16:48:39 +0100 (CET) Message-ID: <170034179.1139845719733.JavaMail.jira@ajax.apache.org> Date: Mon, 13 Feb 2006 16:48:39 +0100 (CET) From: "John H. Embretsen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-752) Example of formatting display of locale-sensitive data yields incorrect result (Tools and Utilities guide) In-Reply-To: <2050478150.1134377926079.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-752?page=all ] John H. Embretsen updated DERBY-752: ------------------------------------ Attachment: DERBY-752.diff ctoolsijtools90477.html Uploading trivial patch to fix this issue. I hope it will make it into the next release... Also included generated html file (ctoolsijtools90477.html) for review. Changed source: src/tools/ctoolsijtools90477.dita > Example of formatting display of locale-sensitive data yields incorrect result (Tools and Utilities guide) > ---------------------------------------------------------------------------------------------------------- > > Key: DERBY-752 > URL: http://issues.apache.org/jira/browse/DERBY-752 > Project: Derby > Type: Bug > Components: Documentation > Versions: 10.0.2.0, 10.0.2.1, 10.1.1.0, 10.1.1.1, 10.1.1.2, 10.1.2.0, 10.1.2.1, 10.2.0.0 > Environment: All > Reporter: John H. Embretsen > Assignee: John H. Embretsen > Priority: Trivial > Attachments: DERBY-752.diff, ctoolsijtools90477.html > > While browsing through the "HTML Files" version of the Tools and Utilities Guide in connection with DERBY-391, I discovered a small, but rather silly bug... > On the page entitled "Formatting display of locale-sensitive data", http://db.apache.org/derby/docs/dev/tools/ctoolsijtools90477.html, there is an example showing how "localizeddisplay on;" affects the display format of "VALUES CURRENT_DATE;" in ij (in an en_US locale) : > ----------- QUOTE START ----------- > ij> VALUES CURRENT_DATE; > 1 > ---------- > 2001-08-06 > 1 row selected > ij> localizeddisplay on; > ij> VALUES CURRENT_DATE; > 1 > ------------------ > September 6, 2001 > 1 row selected > ----------- QUOTE END ----------- > I don't know how "2001-08-06" ended up as "September 6, 2001", but I hope this is just a Doc bug ;) (The result should obviously be "August 6, 2001"). > Certainly, "2005-12-12" correctly ends up as "December 12, 2005", using ij version 10.1.2.1... > I guess a committer who has checked out the doc repository could easily fix this by changing one character only: > From: 2001-08-06 > To: 2001-09-06 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira