Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 184118 Details for
Bug 303177
BIDI3.6: Dates in CVS Dialog "Compare with Branch or Version" are not displayed correctly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Suggested patch
303177.txt (text/plain), 1.92 KB, created by
Mohamed Tarief
on 2010-11-30 07:47:00 EST
(
hide
)
Description:
Suggested patch
Filename:
MIME Type:
Creator:
Mohamed Tarief
Created:
2010-11-30 07:47:00 EST
Size:
1.92 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.team.cvs.ui >Index: src/org/eclipse/team/internal/ccvs/ui/model/CVSTagElement.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/model/CVSTagElement.java,v >retrieving revision 1.26 >diff -u -r1.26 CVSTagElement.java >--- src/org/eclipse/team/internal/ccvs/ui/model/CVSTagElement.java 10 May 2006 17:48:42 -0000 1.26 >+++ src/org/eclipse/team/internal/ccvs/ui/model/CVSTagElement.java 30 Nov 2010 12:09:33 -0000 >@@ -7,6 +7,7 @@ > * > * Contributors: > * IBM Corporation - initial API and implementation >+ * TARIEF@eg.ibm.com - Fixed bug 303177: BIDI3.6: Dates in CVS Dialog "Compare with Branch or Version" are not displayed correctly > *******************************************************************************/ > package org.eclipse.team.internal.ccvs.ui.model; > >@@ -44,11 +45,20 @@ > static synchronized public String toDisplayString(Date date){ > String localTime = timeColumnFormat.format(date); > timeColumnFormat.setTimeZone(TimeZone.getDefault()); >+ > if(localTime.equals("00:00:00")){ //$NON-NLS-1$ >- return localShortFormat.format(date); >+ return localShortFormat.format(date); >+ } >+ if(Locale.getDefault().toString().equalsIgnoreCase("ar_eg") >+ || Locale.getDefault().toString().equalsIgnoreCase("iw_il") >+ || Locale.getDefault().toString().equalsIgnoreCase("iw") >+ || Locale.getDefault().toString().equalsIgnoreCase("he")){ >+ return "\u202B"+localLongFormat.format(date); >+ } >+ else{ >+ return localLongFormat.format(date); >+ } > } >- return localLongFormat.format(date); >- } > > public CVSTagElement(CVSTag tag, ICVSRepositoryLocation root) { > this.tag = tag; >@@ -62,6 +72,7 @@ > public CVSTag getTag() { > return tag; > } >+ > > public boolean equals(Object o) { > if (!(o instanceof CVSTagElement))
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 303177
:
159424
|
159426
|
159427
|
161715
| 184118