{"action":"closed","issue":{"url":"https://api.github.com/repos/pydata/pandas/issues/10690","repository_url":"https://api.github.com/repos/pydata/pandas","labels_url":"https://api.github.com/repos/pydata/pandas/issues/10690/labels{/name}","comments_url":"https://api.github.com/repos/pydata/pandas/issues/10690/comments","events_url":"https://api.github.com/repos/pydata/pandas/issues/10690/events","html_url":"https://github.com/pydata/pandas/issues/10690","id":97772289,"number":10690,"title":"to_html() formatters does not work for objects with 'datetime64[ns]' type","user":{"login":"shishirsharma","id":476201,"avatar_url":"https://avatars.githubusercontent.com/u/476201?v=3","gravatar_id":"","url":"https://api.github.com/users/shishirsharma","html_url":"https://github.com/shishirsharma","followers_url":"https://api.github.com/users/shishirsharma/followers","following_url":"https://api.github.com/users/shishirsharma/following{/other_user}","gists_url":"https://api.github.com/users/shishirsharma/gists{/gist_id}","starred_url":"https://api.github.com/users/shishirsharma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shishirsharma/subscriptions","organizations_url":"https://api.github.com/users/shishirsharma/orgs","repos_url":"https://api.github.com/users/shishirsharma/repos","events_url":"https://api.github.com/users/shishirsharma/events{/privacy}","received_events_url":"https://api.github.com/users/shishirsharma/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pydata/pandas/labels/IO%20HTML","name":"IO HTML","color":"006b75"},{"url":"https://api.github.com/repos/pydata/pandas/labels/Timeseries","name":"Timeseries","color":"AFEEEE"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/pydata/pandas/milestones/40","html_url":"https://github.com/pydata/pandas/milestones/0.19.0","labels_url":"https://api.github.com/repos/pydata/pandas/milestones/40/labels","id":1639795,"number":40,"title":"0.19.0","description":"","creator":{"login":"jreback","id":953992,"avatar_url":"https://avatars.githubusercontent.com/u/953992?v=3","gravatar_id":"","url":"https://api.github.com/users/jreback","html_url":"https://github.com/jreback","followers_url":"https://api.github.com/users/jreback/followers","following_url":"https://api.github.com/users/jreback/following{/other_user}","gists_url":"https://api.github.com/users/jreback/gists{/gist_id}","starred_url":"https://api.github.com/users/jreback/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jreback/subscriptions","organizations_url":"https://api.github.com/users/jreback/orgs","repos_url":"https://api.github.com/users/jreback/repos","events_url":"https://api.github.com/users/jreback/events{/privacy}","received_events_url":"https://api.github.com/users/jreback/received_events","type":"User","site_admin":false},"open_issues":179,"closed_issues":251,"state":"open","created_at":"2016-03-11T21:24:45Z","updated_at":"2016-07-08T15:16:46Z","due_on":"2016-08-30T22:00:00Z","closed_at":null},"comments":2,"created_at":"2015-07-28T18:40:45Z","updated_at":"2016-07-08T15:16:46Z","closed_at":"2016-07-08T15:16:46Z","body":"I am using a to_html() to convert a dataframe into a table. i have various datatypes in Dataframe including float, int, datetime and timedelta. \r\n\r\nI am using formatters to control outputs, It seems to be working for int and float but not for datetime. \r\n\r\n```python\r\ndatetime_formatter = lambda ts: \"%s\" % ts.strftime(\"%I:%M %p\")\r\ncurrency_formatter = lambda cash: \"%.2f\" % cash\r\n```"}}
{"actor":{"display_login":"jorisvandenbossche"}}