You are viewing a single comment's thread from:

RE: [Steem / piston] How to get the datetime of a comment / post?

in #programming8 years ago (edited)

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?

Sort:  

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!

Coin Marketplace

STEEM 0.21
TRX 0.20
JST 0.034
BTC 99341.76
ETH 3285.44
USDT 1.00
SBD 3.05