Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

date format in csv export

Is there a way to determine the format of timestamp-typed columns in csv exports? The only influence I found is are the regional settings on the server. Is there any way to determine the output?

0 votes


Accepted answer

Permanent link

Answer to my own question...

For Eclipse you need to edit the Eclipse.ini file in the same folder as your Eclipse.exe. You need to add the following 2 lines under the '-vm' flag:

-Duser.language=en

-Duser.region=GB

I had tried this, but was using -Duser.region=UK which didn't work.

with the GB the date outputs to screen as d Mmm yyyy (instead of 'Mmm d, yyyy') and exports to CSV as yyyy-mm-dd which is recognised by Excel as a date. Happy Days.

Ralph Schoon selected this answer as the correct answer

0 votes


2 other answers

Permanent link
I found a solution that works: using the Internal Value for output in the output wizards sets the date format to YYYY-MM-DDtHH:MM:SS:MMMh

0 votes


Permanent link

Can I re-open this topic...

I have recently changed to a Win 7 machine running Eclipse Client v3.0.1.1.  My work item queries now produce dates in format 'Mmm d, yyyy' (e.g. Oct 11, 2012...).  Exporting to CSV yields the date in the same format... this is not recognised as a date by Excel and thus interpreted as a string... highly annoying.

I've tried fiddling with Locales via the eclipse.ini file to no avail. (Changing language from en_US to en_UK worked to solve this problem in the Browser client).

As such I'm pretty much unable to perform meaningful exports from my Eclipse Client on this machine where I have to depend on the date columns.

My Regional settings are ignored - the 'Mmm d, yyyy' format is not evident anywhere in my system config.

Connecting to the same project area via Eclipse from a different machine yields output date formats that are recognisable by Excel (generally yyyy-mm-dd formats).

Can anyone advise how I can configure the Eclipse Client to determine the format that dates display on my Work Items and in my exports?

(P.S. The above solution does not work for me... Excel doesn't recognise YYYY-MM-DDtHH:MM:SS:MMMh either due to the 't' in the middle and 'h' at the end).

Thanks

RD

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jun 30 '10, 10:12 a.m.

Question was seen: 1,075 times

Last updated: Oct 18 '12, 2:16 p.m.

Confirmation Cancel Confirm