Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setDate method doesnot set correctly the year #17

Closed
GoogleCodeExporter opened this issue Mar 18, 2015 · 4 comments
Closed

setDate method doesnot set correctly the year #17

GoogleCodeExporter opened this issue Mar 18, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

On iPhone iOS 4.3 with jquerymobile (beta1 and beta2). If I have a this object:

$(''#object').scroller({ preset: 'datetime', seconds: true,ampm : false,theme: 
'sense-ui', dateOrder:'mmddyy'});

and set a data via the setDate method as follows:

 $('#object').scroller('setDate', new Date());

when I click on the textfield and the wheel is shown the value on the top of 
the field is not correct. For instance, I have 08/05/-1, if I change the year 
by the wheel is set correctly.

Moreover, it is possible to add the function that does not allow to the user to 
choice a date before one that I fix... for instance, if I have to book a flight 
 return date must be after the leaving date.

Original issue reported on code.google.com by Filippo....@gmail.com on 5 Aug 2011 at 4:14

@GoogleCodeExporter
Copy link
Author

Moreove, It will be useful a funcion that allow to set a maximum date.

Original comment by Filippo....@gmail.com on 7 Aug 2011 at 12:13

@GoogleCodeExporter
Copy link
Author

Original comment by diosla...@gmail.com on 29 Aug 2011 at 9:27

  • Changed state: Accepted
  • Added labels: Priority-Critical
  • Removed labels: Priority-Medium

@GoogleCodeExporter
Copy link
Author

Fixed in 1.5

Original comment by diosla...@gmail.com on 31 Aug 2011 at 6:15

@GoogleCodeExporter
Copy link
Author

Original comment by diosla...@gmail.com on 31 Aug 2011 at 6:20

  • Changed state: Verified

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant