Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 228355 - BIDI3.4: Event Details window and error log view do not display Arabic dates correctly
Summary: BIDI3.4: Event Details window and error log view do not display Arabic dates ...
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: 3.6 M6   Edit
Assignee: Darin Wright CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-23 04:42 EDT by Mohamed El-Kholy CLA
Modified: 2010-02-03 10:49 EST (History)
4 users (show)

See Also:


Attachments
The red rectangles show the errors in date/time formats (80.74 KB, image/jpeg)
2008-04-23 04:42 EDT, Mohamed El-Kholy CLA
no flags Details
Correct behavior for Date in log view. (1.40 MB, image/jpeg)
2010-01-28 12:41 EST, Dina Sayed CLA
no flags Details
Proposed patch (862 bytes, patch)
2010-02-01 11:50 EST, Dina Sayed CLA
darin.eclipse: iplog+
Details | Diff
Event details view after the fix (805.72 KB, image/jpeg)
2010-02-01 11:57 EST, Dina Sayed CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mohamed El-Kholy CLA 2008-04-23 04:42:25 EDT
Created attachment 97174 [details]
The red rectangles show the errors in date/time formats

Build ID: I20080419

Steps To Reproduce:
1.In a RHEL terminal , set the variables LANG and LC_ALL to "ar_EG.utf8"
2.Start eclipse using the command ./eclipse -nl ar_EG
3.Create any type of project  (the example project of xml will do the job here) then remove some entity from the source code so that there are errors in the project
4.Right click on the project and click validate 
5.Show the error log view
6.The date and time in the error log view are not shown correctly
7.Double click on any error to see the event details view
8.The date and time are confusing as they are not ordered correctly 




More information:
In Arabic numerals, the expected format of Date is YYYY/MM/DD
Comment 1 Dina Sayed CLA 2010-01-28 12:41:39 EST
Created attachment 157543 [details]
Correct behavior for Date in log view.

The date is displayed in correct format in the Error log however in event details its displayed in english
the snap shot taken from build I20100127-0100
Comment 2 Dina Sayed CLA 2010-02-01 11:50:43 EST
Created attachment 157800 [details]
Proposed patch
Comment 3 Dina Sayed CLA 2010-02-01 11:56:38 EST
The fix for the defect resulted in comment 1 , was using SimpleDateFormat and DateFormat from ICU.
Comment 4 Dina Sayed CLA 2010-02-01 11:57:49 EST
Created attachment 157801 [details]
Event details view after the fix
Comment 5 Darin Wright CLA 2010-02-03 10:48:51 EST
Comment on attachment 157800 [details]
Proposed patch

Applied patch.
Comment 6 Darin Wright CLA 2010-02-03 10:49:08 EST
Fixed.