{"action":"closed","issue":{"url":"https://api.github.com/repos/saiwu-bigkoo/Android-PickerView/issues/69","repository_url":"https://api.github.com/repos/saiwu-bigkoo/Android-PickerView","labels_url":"https://api.github.com/repos/saiwu-bigkoo/Android-PickerView/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/saiwu-bigkoo/Android-PickerView/issues/69/comments","events_url":"https://api.github.com/repos/saiwu-bigkoo/Android-PickerView/issues/69/events","html_url":"https://github.com/saiwu-bigkoo/Android-PickerView/issues/69","id":144822806,"number":69,"title":"MONTH_DAY_HOUR_MIN和 HOURS_MINS下默认的日期不对","user":{"login":"qigithub","id":8165632,"avatar_url":"https://avatars.githubusercontent.com/u/8165632?v=3","gravatar_id":"","url":"https://api.github.com/users/qigithub","html_url":"https://github.com/qigithub","followers_url":"https://api.github.com/users/qigithub/followers","following_url":"https://api.github.com/users/qigithub/following{/other_user}","gists_url":"https://api.github.com/users/qigithub/gists{/gist_id}","starred_url":"https://api.github.com/users/qigithub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qigithub/subscriptions","organizations_url":"https://api.github.com/users/qigithub/orgs","repos_url":"https://api.github.com/users/qigithub/repos","events_url":"https://api.github.com/users/qigithub/events{/privacy}","received_events_url":"https://api.github.com/users/qigithub/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-03-31T08:17:15Z","updated_at":"2016-07-05T08:29:34Z","closed_at":"2016-07-05T08:29:34Z","body":"我在WheelTime 的 gettiem()里修改成:\r\nStringBuffer sb = new StringBuffer();\r\n        Calendar calendar = Calendar.getInstance();\r\n        calendar.setTimeInMillis(System.currentTimeMillis());\r\n        int y = calendar.get(Calendar.YEAR);\r\n        int m= calendar.get(Calendar.MONTH)+1;\r\n        int d = calendar.get(Calendar.DAY_OF_MONTH);\r\n//        int hours = calendar.get(Calendar.HOUR_OF_DAY);\r\n//        int minute = calendar.get(Calendar.MINUTE);\r\n        if (type == Type.MONTH_DAY_HOUR_MIN) {\r\n            sb.append(y + \"\").append(\"-\")\r\n                    .append((wv_month.getCurrentItem() + 1)).append(\"-\")\r\n                    .append((wv_day.getCurrentItem() + 1)).append(\" \")\r\n                    .append(wv_hours.getCurrentItem()).append(\":\")\r\n                    .append(wv_mins.getCurrentItem());\r\n            return sb.toString();\r\n        }\r\n        else if (type == Type.HOURS_MINS) {\r\n            sb.append(y + \"\").append(\"-\")\r\n                    .append(m + \"\").append(\"-\")\r\n                    .append(d + \"\").append(\" \")\r\n                    .append(wv_hours.getCurrentItem()).append(\":\")\r\n                    .append(wv_mins.getCurrentItem());\r\n            return sb.toString();\r\n        }\r\n        else {\r\n            sb.append((wv_year.getCurrentItem() + startYear)).append(\"-\")\r\n                    .append((wv_month.getCurrentItem() + 1)).append(\"-\")\r\n                    .append((wv_day.getCurrentItem() + 1)).append(\" \")\r\n                    .append(wv_hours.getCurrentItem()).append(\":\")\r\n                    .append(wv_mins.getCurrentItem());\r\n            return sb.toString();\r\n        }"}}
{"actor":{"display_login":"saiwu-bigkoo"}}