Resolution: Won't Fix
Affects Version/s: Trunk
Fix Version/s: None
This is a copy of the old Jira issue http://jira.undersunconsulting.com/browse/OFBIZ-479 from Malin Nicolas.
Actually for seizure date it's needs to give date in timestamps format, hors use date lookup. Many end-users want only seizure date and only with their keyboard.
I have modifiate ObjectType.java for offert possibility to seizure date of this time :
- 25/03/05 12:00
I works for simplify show timestamps for oly view date when time not needed.
Modification on ObjectType.java
This looks like a good idea. Would you mind committing it?
The modification on date actually works in neogia project. You would commit it without major problem. In don't find problem with this modification .
But it modification regard only timestamps seizure. I works on HtmlWrapper for support this idea.
This should be lower priority in the first place, it just isn't a big deal compared with other outstanding issues.
Doing locale based parsing is an interesting idea, but I'd prefer to reject this patch because not having a consistent date formatting scheme for output and input really confuses users....
I create a new patch would increase management date. Now user can't input date with local format or sql format and return was locale format. He has possibility to indicate the format who want on general.properties
I modify widget-form.dtd to support format output on display field with add type attribute for tag <display/>.
Three possibility to format String :
<display type="date" />
<display type="time" />
<display type="timestamp" />
All works since one month with no problem in Neogia project.
I hope this is better solution for ofbiz project
Yes, it seems there already is some work for this! Thanks, Nicholas - I will take a look at what you have.
I thank to look what I have done Si Chen.
I have a request : nicholas is Russian lastName,
my lastName is Nicolas, it's French ;D
Sorry I did not know. I thought you were French since you worked with Neogia. So did you see Oleg Efimov's new Russian translation of the work effort module?
I think one issue here is should we continue to enhance the form widget to do richer formatting, or should we just rely on the inline beanshell calls to use Java methods directly?
What do you think?
can it be closed ?
Please don't close it. I will ASAP create a new issue in Apache Jira. Thanks
Yeah I think generally speaking this is a good idea.