derpibooru / philomena

Next-generation imageboard
https://derpibooru.org/
GNU Affero General Public License v3.0
219 stars 56 forks source link

[Feature Request, API] Add timestamps to comments response objects #66

Closed pingzing closed 4 years ago

pingzing commented 4 years ago

Is your feature request related to a problem? Please describe. I can't display timestamps for comments!

Describe the solution you'd like I'd like an extra field added to the comment response object that contains the time it was posted. Something like posted_at. If the data is available, a last_edited_at might be nice as well.

Describe alternatives you've considered ¯\_(ツ)_/¯

Additional context I'd expect date-times in RFC3339 format, in UTC, like they are elsewhere.

liamwhite commented 4 years ago

This is easy enough as a first contribution that I would recommend doing it yourself, if you can.

pingzing commented 4 years ago

Fair. PR opened here: https://github.com/derpibooru/philomena/pull/67