[
https://issues.apache.org/jira/browse/OFBIZ-4308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045489#comment-13045489
]
Stephen Rufle commented on OFBIZ-4308:
--------------------------------------
I did a fresh checkout of
http://svn.apache.org/repos/asf/ofbiz/branches/release10.04
ant run-install
startofbiz.bat
Changed to "Flat Grey" theme (I am sure it happens with any theme)
https://localhost:8443/ordermgr/control/OrderPurchaseReportOptions
Enter 2011-05-03 in "Sales by Store Report" > "From Date"
Pop Open calendar (see wrong date selected)
In the firebug console, this is where I saw the issue most clearly
BAD: new Date("2011-05-03") -> Date {Mon May 02 2011 17:00:00 GMT-0700 (US
Mountain Standard Time)}
GOOD: new Date("2011/05/03") -> Date {Tue May 03 2011 00:00:00 GMT-0700 (US
Mountain Standard Time)}
You may not see the issue because your time offset from GMT is enough that when
you do the testing you fall on the correct day <shrug>.
> CalendarDateSelect Shows wrong selected date
> ---------------------------------------------
>
> Key: OFBIZ-4308
> URL: https://issues.apache.org/jira/browse/OFBIZ-4308
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: Release Branch 10.04
> Reporter: Stephen Rufle
> Attachments: OFBIZ-4308.patch,
> OrderPurchaseReportOptions-CalendarDateSelect.jpg, screenshot-1.jpg
>
>
> When a date value is initially specified ex.2011-05-03 and then the calendar
> is popped open the date is off by one.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira