Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-265

simplify date seizure

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Won't Fix
    • Trunk
    • None
    • framework
    • None

    Description

      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.

      Attachments

        1. svnDateFormat.diff
          12 kB
          Marco Risaliti

        Activity

          People

            jleroux Jacques Le Roux
            risalitm Marco Risaliti
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: