[Steem / piston] How to get the datetime of a comment / post?
I'm working on a little tool, for that I need to now the date/time when a particular comment was posted.
Can I get this info from a node via websockets/piston? If so how?
I'm working on a little tool, for that I need to now the date/time when a particular comment was posted.
Can I get this info from a node via websockets/piston? If so how?
I got it:
post = steem.get_content(post_identifier)
created_timestamp = post.created
For some reason, post.created is not available when you get the post from the stream function:
for post in steem.stream_comments():
created = post.created <---- ERROR
I am not sure if that is a missing feature / bug in piston or just a limitation of the stream function.
@xeroc can you comment?
I have identified the bug .. Will be fixed in the next release or in
develop
shortly ..thanks for reporting
Thanks man, you're a legend!