payload: {"action":"opened","issue":{"url":"https://api.github.com/repos/EOSIO/eosio.cdt/issues/747","repository_url":"https://api.github.com/repos/EOSIO/eosio.cdt","labels_url":"https://api.github.com/repos/EOSIO/eosio.cdt/issues/747/labels{/name}","comments_url":"https://api.github.com/repos/EOSIO/eosio.cdt/issues/747/comments","events_url":"https://api.github.com/repos/EOSIO/eosio.cdt/issues/747/events","html_url":"https://github.com/EOSIO/eosio.cdt/issues/747","id":524653303,"node_id":"MDU6SXNzdWU1MjQ2NTMzMDM=","number":747,"title":"allow `time_point_sec::from_iso_string` in CDT","user":{"login":"DenisCarriere","id":550895,"node_id":"MDQ6VXNlcjU1MDg5NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/550895?v=4","gravatar_id":"","url":"https://api.github.com/users/DenisCarriere","html_url":"https://github.com/DenisCarriere","followers_url":"https://api.github.com/users/DenisCarriere/followers","following_url":"https://api.github.com/users/DenisCarriere/following{/other_user}","gists_url":"https://api.github.com/users/DenisCarriere/gists{/gist_id}","starred_url":"https://api.github.com/users/DenisCarriere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DenisCarriere/subscriptions","organizations_url":"https://api.github.com/users/DenisCarriere/orgs","repos_url":"https://api.github.com/users/DenisCarriere/repos","events_url":"https://api.github.com/users/DenisCarriere/events{/privacy}","received_events_url":"https://api.github.com/users/DenisCarriere/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-11-18T22:19:29Z","updated_at":"2019-11-18T22:19:29Z","closed_at":null,"author_association":"NONE","body":"It would be very useful to include `time_point_sec::from_iso_string` into the CDT\r\n\r\nThat way it would allow to parse datetime strings directly in the smart contract, currently the only way to parse datetime string is to push the action and have it parsed by nodeos using the chain plugin.\r\n\r\n```c++\r\ntime_point initial_timestamp = time_point::from_iso_string(\"2020-01-01T00:00:00.000\");\r\n```\r\n\r\nThe logic is already written in the `fc/time` library, not too sure how difficult it would be to include in the CDT\r\n\r\nhttps://github.com/EOSIO/fc/blob/df5a17ef0704d7dd96c444bfd9a70506bcfbc057/src/time.cpp#L35-L64"}}
other: {"actor":{"display_login":"DenisCarriere"}}