View | Details | Raw Unified | Return to bug 303177
Collapse All | Expand All

(-)src/org/eclipse/team/internal/ccvs/ui/model/CVSTagElement.java (-3 / +14 lines)
Lines 7-12 Link Here
7
 *
7
 *
8
 * Contributors:
8
 * Contributors:
9
 *     IBM Corporation - initial API and implementation
9
 *     IBM Corporation - initial API and implementation
10
 *     TARIEF@eg.ibm.com - Fixed bug 303177: BIDI3.6: Dates in CVS Dialog "Compare with Branch or Version" are not displayed correctly
10
 *******************************************************************************/
11
 *******************************************************************************/
11
package org.eclipse.team.internal.ccvs.ui.model;
12
package org.eclipse.team.internal.ccvs.ui.model;
12
13
Lines 44-54 Link Here
44
	static synchronized public String toDisplayString(Date date){
45
	static synchronized public String toDisplayString(Date date){
45
		String localTime = timeColumnFormat.format(date);
46
		String localTime = timeColumnFormat.format(date);
46
		timeColumnFormat.setTimeZone(TimeZone.getDefault());
47
		timeColumnFormat.setTimeZone(TimeZone.getDefault());
48
		
47
		if(localTime.equals("00:00:00")){ //$NON-NLS-1$
49
		if(localTime.equals("00:00:00")){ //$NON-NLS-1$
48
			return localShortFormat.format(date);
50
			 	return localShortFormat.format(date);
51
		}
52
		if(Locale.getDefault().toString().equalsIgnoreCase("ar_eg") 
53
		   || Locale.getDefault().toString().equalsIgnoreCase("iw_il") 
54
		   || Locale.getDefault().toString().equalsIgnoreCase("iw") 
55
		   || Locale.getDefault().toString().equalsIgnoreCase("he")){
56
		return "\u202B"+localLongFormat.format(date);
57
		}
58
		else{
59
			return localLongFormat.format(date);
60
			}
49
		}
61
		}
50
		return localLongFormat.format(date);
51
	}
52
	
62
	
53
	public CVSTagElement(CVSTag tag, ICVSRepositoryLocation root) {
63
	public CVSTagElement(CVSTag tag, ICVSRepositoryLocation root) {
54
		this.tag = tag;
64
		this.tag = tag;
Lines 62-67 Link Here
62
	public CVSTag getTag() {
72
	public CVSTag getTag() {
63
		return tag;
73
		return tag;
64
	}
74
	}
75
	
65
76
66
	public boolean equals(Object o) {
77
	public boolean equals(Object o) {
67
		if (!(o instanceof CVSTagElement))
78
		if (!(o instanceof CVSTagElement))

Return to bug 303177