db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John H. Embretsen (JIRA)" <derby-...@db.apache.org>
Subject [jira] Created: (DERBY-752) Example of formatting display of locale-sensitive data yields incorrect result (Tools and Utilities guide)
Date Mon, 12 Dec 2005 08:58:46 GMT
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.2.0.0, 10.1.2.0, 10.1.1.1, 10.1.1.2, 10.1.2.1
   
 Environment: All
    Reporter: John H. Embretsen
    Priority: Trivial


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


Mime
View raw message