### 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))