[jira] Created: (OFBIZ-1150) allow manual simple date input (without hour)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-1150) allow manual simple date input (without hour)

Nicolas Malin (Jira)
allow manual simple date input (without hour)
---------------------------------------------

                 Key: OFBIZ-1150
                 URL: https://issues.apache.org/jira/browse/OFBIZ-1150
             Project: OFBiz
          Issue Type: Improvement
          Components: framework
    Affects Versions: SVN trunk, Release Branch 4.0
            Reporter: Wickersheimer Jeremy
            Priority: Trivial


Date input is done via the calendar, but it might be more convenient and faster to enter the date manually.
Dates are converted to Timestamp and currently the code only support DateTime input, but user might prefer to input just the date disregarding the hour.minute.second.

I wrote a patch that allow a date in the current locale (for example MM/DD/YY in US locale) or the maybe more intuitive Ofbiz format yyyy-MM-dd.
I think user would expect such format to be valid and should not be forced to use the calendar to enter a date if they now the day already.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-1150) allow manual simple date input (without hour)

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wickersheimer Jeremy updated OFBIZ-1150:
----------------------------------------

    Attachment: ofbiz-1150.patch

Simply add some more cases in the ObjectType.java simpleTypeConvert method when converting to Timestamp.

> allow manual simple date input (without hour)
> ---------------------------------------------
>
>                 Key: OFBIZ-1150
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1150
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk, Release Branch 4.0
>            Reporter: Wickersheimer Jeremy
>            Priority: Trivial
>         Attachments: ofbiz-1150.patch
>
>
> Date input is done via the calendar, but it might be more convenient and faster to enter the date manually.
> Dates are converted to Timestamp and currently the code only support DateTime input, but user might prefer to input just the date disregarding the hour.minute.second.
> I wrote a patch that allow a date in the current locale (for example MM/DD/YY in US locale) or the maybe more intuitive Ofbiz format yyyy-MM-dd.
> I think user would expect such format to be valid and should not be forced to use the calendar to enter a date if they now the day already.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-1150) allow manual simple date input (without hour)

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-1150.
----------------------------------

       Resolution: Fixed
    Fix Version/s: SVN trunk
         Assignee: Jacques Le Roux

This is now supported in trunk. Though only in the descending date or date-time format. There have been some attempts at using a localised format but none succeded yet. See for instance OFBIZ-265, OFBIZ-1127, OFBIZ-1168

Maybe it's time to have a new fresh look at it... Using descending format is great for the engineering part but not for users I guess...



> allow manual simple date input (without hour)
> ---------------------------------------------
>
>                 Key: OFBIZ-1150
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1150
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk, Release Branch 4.0
>            Reporter: Wickersheimer Jeremy
>            Assignee: Jacques Le Roux
>            Priority: Trivial
>             Fix For: SVN trunk
>
>         Attachments: ofbiz-1150.patch
>
>
> Date input is done via the calendar, but it might be more convenient and faster to enter the date manually.
> Dates are converted to Timestamp and currently the code only support DateTime input, but user might prefer to input just the date disregarding the hour.minute.second.
> I wrote a patch that allow a date in the current locale (for example MM/DD/YY in US locale) or the maybe more intuitive Ofbiz format yyyy-MM-dd.
> I think user would expect such format to be valid and should not be forced to use the calendar to enter a date if they now the day already.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1150) allow manual simple date input (without hour)

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12553836 ]

Jacques Le Roux commented on OFBIZ-1150:
----------------------------------------

I should have say in my previous comment : "This is already supported in trunk" and should not have closed as fixed but as a duplicate, anyway I guess this comment is clear enough (KISS spirit).

> allow manual simple date input (without hour)
> ---------------------------------------------
>
>                 Key: OFBIZ-1150
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1150
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk, Release Branch 4.0
>            Reporter: Wickersheimer Jeremy
>            Assignee: Jacques Le Roux
>            Priority: Trivial
>             Fix For: SVN trunk
>
>         Attachments: ofbiz-1150.patch
>
>
> Date input is done via the calendar, but it might be more convenient and faster to enter the date manually.
> Dates are converted to Timestamp and currently the code only support DateTime input, but user might prefer to input just the date disregarding the hour.minute.second.
> I wrote a patch that allow a date in the current locale (for example MM/DD/YY in US locale) or the maybe more intuitive Ofbiz format yyyy-MM-dd.
> I think user would expect such format to be valid and should not be forced to use the calendar to enter a date if they now the day already.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.