Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Won't Fix
    • Affects Version/s: Trunk
    • Fix Version/s: None
    • Component/s: framework
    • Labels:
      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.

      1. svnDateFormat.diff
        12 kB
        Marco Risaliti

        Activity

        Gavin made changes -
        Workflow jira [ 12383633 ] OFbiz Workflow [ 12504427 ]
        Jacques Le Roux made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Won't Fix [ 2 ]
        Jacques Le Roux made changes -
        Assignee Jacques Le Roux [ jacques.le.roux ]
        Jacques Le Roux made changes -
        Attachment svnDiffObjectType.diff [ 12340753 ]
        Jacopo Cappellato made changes -
        Comment [ Patches copied from the old-jira issue OFBIZ-479 ]
        Jacopo Cappellato made changes -
        Description 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 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.
        Marco Risaliti made changes -
        Field Original Value New Value
        Attachment svnDateFormat.diff [ 12340752 ]
        Attachment svnDiffObjectType.diff [ 12340753 ]
        Marco Risaliti created issue -

          People

          • Assignee:
            Jacques Le Roux
            Reporter:
            Marco Risaliti
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development