Export to GitHub

struts2-jquery - issue #291

datepicker disables days before minDate incorrectly when client date is different than server


Posted on Sep 8, 2010 by Grumpy Bird

(This is for feature requests and bugs in Struts2 jQuery Plugin - for getting help, please use the User Group. http://groups.google.com/group/struts2-jquery )

What steps will reproduce the problem? 1.Set the date of client machine to be different than server 2.Set minDate to 0 in order to disable days before the current day of server 3.Datepicker disables days before the current day of client machine

What is the expected output? What do you see instead?

I want to disable days before the current day of server - it may be different than that of client machine - Maybe there needs a way to set an absolute date other than offset. The minDate accepts an offset from the current day of client machine.

Which struts2 version? 2.1.8.1

Which struts2-jquery plugin version? 2.3.0

Please provide any additional information below.

Comment #1

Posted on Sep 9, 2010 by Swift Lion

(No comment was entered for this change.)

Comment #2

Posted on Sep 12, 2010 by Swift Lion

The minDate and maxDate attribute accepts now also a java.util.Date Object.

http://code.google.com/p/struts2-jquery/source/detail?r=1216

Comment #3

Posted on Sep 21, 2010 by Swift Lion

(No comment was entered for this change.)

Status: Fixed

Labels:
Type-Enhancement Priority-Medium Component-Plugin Milestone-2.4.1