This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 158729 - Timestamp format in Editor differs from Renderer
Summary: Timestamp format in Editor differs from Renderer
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Show Data (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-18 12:21 UTC by rgarske
Modified: 2009-02-24 20:17 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rgarske 2009-02-18 12:21:09 UTC
I have used the database browser on an ORACLE database with the Oracle thin client.
I have used it to view data of a little Table in that database, which I use to allert
Users of my application if a new version becomes available. In the browser, the table
lookes like this:

ID	VERSION_STRING	BUILD_NUMBER	KOMMENTAR	ERSTELLT
MIN	3.7.5	741	Bei Benutzung der Tab-Taste im Annahme-Dialog keine Warnung bei Erreichen des Feldes Beförderer-
Nr. falls dieses leer ist.	2009-02-05 10:36:00.0
TIP	3.7.5	752	Neuer Build wg. unerklärlichem Bug im TableTransferHandler.	2009-02-06 10:32:00.0
MAX	3.7.5	813	Bugfix: Auswahl der zugelassenen Anlagen in allen Modulen gleich behandeln.	2009-02-18 
10:39:00.0

As you can see, the last column contains a timestamp value, and it is rendered in the format which I have configured in 
my windows Control Panels "Regioanl and Language Options", which is OK. But when I double-click on a field in the 
timestamp column, the timestamp format changes like this: 18.02.2009 10:39:00
This makes it impossible to move values with Copy and Paste. I suggest the Editor should use the same format as the 
Renderer.

This is with hte following Netbeans Version, copied from the About page:

Product Version: NetBeans IDE Dev (Build 200902151401)
Java: 1.6.0_11; Java HotSpot(TM) Server VM 11.0-b16
System: Windows XP version 5.1 running on x86; Cp1252; de_DE (nb)
Userdir: C:\Documents and Settings\ingak\.netbeans\dev

The Oracle database is the following version, if that matters:

Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options

The Oracle Driver Version is: 10.2.0.3.0
Comment 1 Jiri Rechtacek 2009-02-18 12:46:16 UTC
Thanks for feedback, I see it's unexpected behavior and should you be fix.
Comment 2 Jiri Rechtacek 2009-02-20 15:54:40 UTC
core-main/rev/9bef0d10b02c
Comment 3 Quality Engineering 2009-02-24 20:17:54 UTC
Integrated into 'main-golden', will be available in build *200902241401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/9bef0d10b02c
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #158729: Timestamp format in Editor differs from Renderer