[ http://issues.apache.org/jira/browse/OFBIZ-265?page=all ]
Jacques Le Roux closed OFBIZ-265.
---------------------------------
Resolution: Won't Fix
As noticed by Jean-Sebastien Hedere this is now in widget:
This is in ofbiz. Look at :
https://localhost:8443/manufacturing/control/EditCalendarExceptionWeek?calendarId=SUPPLIER
It's the only field of type <date-time type="date"/>. I did'nt find
something of type <date-time type="time"/>
We can note that on
https://localhost:8443/catalog/control/EditCategoryContent?productCategoryId=CATALOG1_QUICKADD1,
form is defined like:
<field name="fromDate" widget-style="tabletext"><display/></field>
<field name="thruDate"><date-time type="timestamp"/></field>
and the two fields are displayed identically.
> simplify date seizure
> ---------------------
>
> Key: OFBIZ-265
> URL: http://issues.apache.org/jira/browse/OFBIZ-265
> Project: OFBiz (The Open for Business Project)
> Issue Type: Improvement
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Marco Risaliti
> Assigned To: Jacques Le Roux
> Priority: Trivial
> Attachments: svnDateFormat.diff
>
>
> 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
> - 25/02/2005
> - 25/03/05 12:00
> I works for simplify show timestamps for oly view date when time not needed.
> Modification on ObjectType.java
> David,
> This looks like a good idea. Would you mind committing it?
> Si
> 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....
> -David
> Hi.
> 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
> Malin,
> 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?
> Si
> David,
> 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?
> Si
> can it be closed ?
> Thanks
> Marco
> Please don't close it. I will ASAP create a new issue in Apache Jira. Thanks
> Jacques
> Yeah I think generally speaking this is a good idea.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira