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

[TIMON-18728] Date Picker min and max date fixed to allow for years afte... #6753

Merged
merged 1 commit into from Mar 31, 2015

Conversation

ashcoding
Copy link
Contributor

...r 2100AD

@ashcoding
Copy link
Contributor Author

Jira: https://jira.appcelerator.org/browse/TIMOB-18728

Test steps: App.js

Ti.UI.backgroundColor = 'white';
var win = Ti.UI.createWindow({
  exitOnClose: true,
  layout: 'vertical'
});

var picker = Ti.UI.createPicker({
  type:Ti.UI.PICKER_TYPE_DATE,
  minDate:new Date(2009,0,1),
  maxDate:new Date(2200,4,1),
  value:new Date(2015,2,23),
  top:50,
  accessablityLabel: "data picker"
});

win.add(picker);
win.open();

picker.addEventListener('change',function(e){
  Ti.API.info("User selected date: " + e.value.toLocaleString());
});

@hieupham007
Copy link
Contributor

Code reviewed and functionally tested. Request accepted

hieupham007 added a commit that referenced this pull request Mar 31, 2015
[TIMON-18728] Date Picker min and max date fixed to allow for years afte...
@hieupham007 hieupham007 merged commit 4922152 into tidev:master Mar 31, 2015
@ashcoding ashcoding deleted the TIMOB-18728 branch July 8, 2015 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants