{"action":"opened","issue":{"url":"https://api.github.com/repos/sentsin/layui/issues/359","repository_url":"https://api.github.com/repos/sentsin/layui","labels_url":"https://api.github.com/repos/sentsin/layui/issues/359/labels{/name}","comments_url":"https://api.github.com/repos/sentsin/layui/issues/359/comments","events_url":"https://api.github.com/repos/sentsin/layui/issues/359/events","html_url":"https://github.com/sentsin/layui/issues/359","id":373802082,"node_id":"MDU6SXNzdWUzNzM4MDIwODI=","number":359,"title":"能否给datetime默认增加一个时间的可选参数","user":{"login":"qw576483","id":25946534,"node_id":"MDQ6VXNlcjI1OTQ2NTM0","avatar_url":"https://avatars1.githubusercontent.com/u/25946534?v=4","gravatar_id":"","url":"https://api.github.com/users/qw576483","html_url":"https://github.com/qw576483","followers_url":"https://api.github.com/users/qw576483/followers","following_url":"https://api.github.com/users/qw576483/following{/other_user}","gists_url":"https://api.github.com/users/qw576483/gists{/gist_id}","starred_url":"https://api.github.com/users/qw576483/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qw576483/subscriptions","organizations_url":"https://api.github.com/users/qw576483/orgs","repos_url":"https://api.github.com/users/qw576483/repos","events_url":"https://api.github.com/users/qw576483/events{/privacy}","received_events_url":"https://api.github.com/users/qw576483/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-25T07:06:18Z","updated_at":"2018-10-25T07:06:18Z","closed_at":null,"author_association":"NONE","body":"\r\n他们让结束时间默认23:59:59秒，我已经没有其他办法了只能这么做\r\n  var date_time = 1；\r\n     laydate.render({\r\n      elem: '.date-picker1'\r\n      ,type: 'datetime'\r\n      ,calendar: true\r\n      ,done: function(value, date){\r\n            if(date_time < 1){\r\n                change_date(\".date-picker1\" , value.replace('00:00:00' , '23:59:59'));\r\n            }\r\n            date_time += 1;\r\n        }\r\n    });\r\n    function change_date(id , va){\r\n        setTimeout(function(){\r\n            $(id).val(va);\r\n        },1);\r\n    }\r\n"}}
{"actor":{"display_login":"qw576483"}}