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 165603 - I18N : date format for Last Run is not common
Summary: I18N : date format for Last Run is not common
Status: VERIFIED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Bugzilla (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Tomas Stupka
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2009-05-20 14:15 UTC by Masaki Katakai
Modified: 2009-07-27 09:20 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2009-05-20 14:16:49 UTC
The date format for "Last Run" on query panel is using the following format,

bugzilla/src/org/netbeans/modules/bugzilla/query/QueryController.java:
    private SimpleDateFormat dateFormat = new SimpleDateFormat("HH:mm:ss, EEE MMM d yyyy"); // NOI18N

"EEE MMM d yyyy" is not good for all users. Actually it's strange
for Japanese. Please change it to more common format like

yyyy-MM-dd

For example, these are common and being used in the following.

./bpel.editors/src/org/netbeans/modules/bpel/properties/props/editors/DeadlinePropertyCustomizer.java:
                new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); // NOI18N

./bugzilla/src/org/netbeans/modules/bugzilla/issue/IssuePanel.java:
    private static final DateFormat modificationFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); // NOI18N

The same format is using in Jira support. if separate bug report is necessary,
please let me know.

./jira/src/org/netbeans/modules/jira/query/QueryController.java:
    private SimpleDateFormat dateFormat = new SimpleDateFormat("HH:mm:ss, EEE MMM d yyyy"); // NOI18N
Comment 1 Tomas Stupka 2009-05-20 14:29:37 UTC
fixed

changeset   : 132558:84f5e3db70f1
author      : Tomas Stupka <tstupka@netbeans.org>
date        : Wed May 20 15:29:13 CEST 2009
Comment 2 Quality Engineering 2009-05-21 08:23:42 UTC
Integrated into 'main-golden', will be available in build *200905210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/84f5e3db70f1
User: Tomas Stupka <tstupka@netbeans.org>
Log: #165603 - I18N : date format for Last Run is not common
Comment 3 Masaki Katakai 2009-05-22 01:17:24 UTC
Thank you Tomas for quick update.

Verified on build 200905211401. It's great!