You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Wickersheimer Jeremy (JIRA)" <ji...@apache.org> on 2007/07/17 05:12:05 UTC

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

     [ 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.