{ "id": "63610", "key": "TIMOB-2978", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-06-28T13:41:48.000+0000", "created": "2011-04-15T03:34:03.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-port" ], "versions": [], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2015-04-15T13:51:45.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

Ticket Reference: http://developer.appcelerator.com/helpdesk/view/68671

\r\n

User would like minDate and maxDate support added to\r\nDatePickerDialog.

{html}", "attachment": [], "flagged": false, "summary": "Android Feature Request: DatePickerDialog min/max Date Support", "creator": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "200781", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "{code} \r\nvar win = Ti.UI.createWindow({ backgroundColor: 'white' });\r\n\r\nvar picker = Ti.UI.createPicker({\r\n type: Ti.UI.PICKER_TYPE_DATE,\r\n minDate: new Date(2012,0,1),\r\n maxDate: new Date(2013,11,31),\r\n value: new Date(2012,4,12),\r\n top:50\r\n});\r\n\r\nwin.add(picker);\r\nwin.open();\r\n{code}\r\n\r\nAbove code seems to work fine on the iOS simulator and on a Samsung Galaxy S2, using TiSDK 2.0.2GA.\r\n\r\nTicket closed.", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-06-28T13:41:48.000+0000", "updated": "2012-06-28T13:41:48.000+0000" }, { "id": "216729", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Date Picker min/max working.\r\nVerified on:\r\nTitanium Studio: 2.1.2.201208281351\r\nTitanium SDK: 2.2.0.v20120828153312\r\nAndroid Device: Samsung Note (v2.3)", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-29T04:55:06.000+0000", "updated": "2012-08-29T04:55:06.000+0000" }, { "id": "264243", "author": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "minDate and maxDate parameters are NOT working on Android with Ti SDK 3.1.1.GA and tool-api-level 14\r\n\r\nPlease reopen this ticket.\r\n\r\nps: it won't work if you use the Date Picker together with the showDatePickerDialog() method. It just ignores the min/max dates parameters.", "updateAuthor": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2013-07-31T20:09:04.000+0000", "updated": "2013-07-31T20:09:04.000+0000" }, { "id": "349682", "author": { "name": "underlabs", "key": "underlabs", "displayName": "Joseph Sachs", "active": true, "timeZone": "America/Montreal" }, "body": "minDate on Android dosen't Work. Ti SDK 3.5.1.GA", "updateAuthor": { "name": "underlabs", "key": "underlabs", "displayName": "Joseph Sachs", "active": true, "timeZone": "America/Montreal" }, "created": "2015-04-15T13:51:45.000+0000", "updated": "2015-04-15T13:51:45.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }