WCReateFromStatementUI : wrong date format fot a new column

Help is preferred to those who publish their work as Open Source and not as private branches rejecting collaboration. Such projects are not maintainable and shall be deleted.
Forum rules
This forum is personally pruned to avoid redundant posts. Related topics are grouped together. IF YOU HAVE REGISTERED, you need to send email to red1(a)red1.org with your username in the subject title to get me to activate you.

WCReateFromStatementUI : wrong date format fot a new column

Postby nmicoud » Tue Jan 24, 2012 9:55 pm

Hi,

I've made an enhancement on WCReateFromStatementUI which allow users to select the date of the bank statement line.
I've added a new column which is initialized with the DateTrx. It can be modified, and when saving, it is used to create the bank statement line.

It works perfectly in swing mode but in webUI, not at all.
When leaving the field, the field became :

Tue Sep 20 00:00:00 CEST 2011 (it should have looked like the format defined in the language window)

This new column is a timestamp.

Any ideas ?

BTW, i could share it if interested

Thanks,

Nicolas
nmicoud
Regular
 
Posts: 124
Joined: Fri Oct 07, 2011 6:19 pm

Re: WCReateFromStatementUI : wrong date format fot a new col

Postby hengsin » Wed Jan 25, 2012 11:38 am

Hi,

Can you share your modification somewhere ? It is difficult to know what's the issue without looking at the actual changes.

Regards,
Hengsin
hengsin
 
Posts: 37
Joined: Tue May 10, 2011 3:11 pm

Re: WCReateFromStatementUI : wrong date format fot a new col

Postby nmicoud » Wed Jan 25, 2012 5:04 pm

Hi,
Please find customized class here :
http://nicolas.micoud.free.fr/trucs/CreateFromStatement.java

Thanks,

Nicolas


[edit 02/03] Any ideas ?
Regards,
Nico
nmicoud
Regular
 
Posts: 124
Joined: Fri Oct 07, 2011 6:19 pm

Re: WCReateFromStatementUI : wrong date format fot a new col

Postby nmicoud » Wed Apr 11, 2012 10:15 pm

nmicoud
Regular
 
Posts: 124
Joined: Fri Oct 07, 2011 6:19 pm


Return to HELP ME!!!

Who is online

Users browsing this forum: No registered users and 2 guests

cron