• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » What file contains the "date pattern" suggested list

#1 2012-03-21 19:32:16

scottgutman
Member
Registered: 2011-09-06
Posts: 19

What file contains the "date pattern" suggested list

What file contains the "date pattern" suggested list and can it be edited?

I know this is trivial, but its a pet peeve.  thanks for your patience with me.

I would like to add the date pattern "yyyy-MM-dd HH:mm:ss".

Currently, there are 2 that are close:

1. "yyyy-MM-dd'T'HH:mm:ss"  -- this has a 'T' which i have to delete
2. "yyyy-MM-dd'T'HH:mm:ss'000Z'"  --this has 'T' and  '000Z'

Neither of them are what I need, and so each time I have to manually edit the pattern.

Is there a way to add or change the exisiting patterns in the list?

Thanks again

Offline

#2 2012-03-22 06:20:00

pedro
Member
Registered: 2011-11-17
Posts: 3682

Re: What file contains the "date pattern" suggested list

Hi

Hope I understand what you mean correctly.
Date pattern of each file can be edited when you add a column in schema of any input component.
The following image will show more detail.
Pressing "Space+Ctrl" will open a suggested list.

Here is a scenario.
The data in one delimited file is as follow.

Code:

2012-03-22 13:01:21
2012-03-22T13:01:22
2012-03-22 13:01:23000Z

When I set the schema as Image 1, these three rows will be corrected automatically(Image 2).

Regards,
Pedro


Uploaded Images


Only Paranoid Survive.

Offline

#3 2012-03-22 15:57:21

scottgutman
Member
Registered: 2011-09-06
Posts: 19

Re: What file contains the "date pattern" suggested list

I uploaded a screenshot of the place where I want to edit the list.

Does this make more sence.


Uploaded Images

Offline

#4 2012-03-23 02:48:38

pedro
Member
Registered: 2011-11-17
Posts: 3682

Re: What file contains the "date pattern" suggested list

Hi

Just type "yyyy-MM-dd HH:mm:ss" in this textfield.

Regards,
Pedro


Only Paranoid Survive.

Offline

#5 2012-03-23 10:16:43

janhess
Member
Company: Newcastle University
Registered: 2009-05-19
Posts: 1137

Re: What file contains the "date pattern" suggested list

The requirement is to change the contents of the date format dropdown. I would also like to do this as there isn't an entry for any of my default date formats.

Offline

#6 2012-03-23 10:18:12

pedro
Member
Registered: 2011-11-17
Posts: 3682

Re: What file contains the "date pattern" suggested list

Hi

For any issue or new feature, please report it on BugTracker.

Regards,
Pedro


Only Paranoid Survive.

Offline

#7 2012-03-23 10:19:22

janhess
Member
Company: Newcastle University
Registered: 2009-05-19
Posts: 1137

Re: What file contains the "date pattern" suggested list

But is this a new feature? The  dropdown must be getting the formats from somewhere!

Offline

#8 2012-03-23 14:09:57

scottgutman
Member
Registered: 2011-09-06
Posts: 19

Re: What file contains the "date pattern" suggested list

It's not a bug, because its not broken.  I just want to adjust the list to my taste. 

Is this list compiled into the main program?
does it need to be adjusted before compiling?

Offline

#9 2012-03-29 15:22:52

geuder
Member
Company: Mojang
Registered: 2011-10-19
Posts: 92
Website

Re: What file contains the "date pattern" suggested list

I'm also interested in being able to edit the suggestion list.
Is the list available somewhere (as a text file) or as a setting?

(Or is it backed into the code? And hence a new feature request?)

Offline

#10 2012-03-29 15:29:54

scottgutman
Member
Registered: 2011-09-06
Posts: 19

Re: What file contains the "date pattern" suggested list

Currently, they do not see this as a need or feature.  They closed the request to change it, and have not told me how to change it myself.

So I don't know where that leaves us.

Offline

#11 2012-03-29 15:39:24

geuder
Member
Company: Mojang
Registered: 2011-10-19
Posts: 92
Website

Re: What file contains the "date pattern" suggested list

It leaves us to edit it manually, each time... :-/

Offline

#12 2012-07-06 07:44:33

alevy
Member
Registered: 2009-11-20
Posts: 1558

Re: What file contains the "date pattern" suggested list

I, too, support this.  At the least, Talend should be able to add "yyyy-MM-dd HH:mm:ss" to the list of standard options even if they won't give us the ability to manipulate the default options ourselves.

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » What file contains the "date pattern" suggested list

Board footer

Powered by FluxBB