ajones05 / seearound.me-ionic

0 stars 0 forks source link

GO: Comment timestamp is wrong #97

Closed ajones05 closed 8 years ago

ajones05 commented 8 years ago

(Timestamp for posts seems fine, so this appears to be only for comments). Here's an example:

image

yuriyua commented 8 years ago

I think it'd be easier to calculate it from the server side I added comments time ago value to response https://github.com/ajones05/seearound.me/wiki/Mobile-Api-Reference/_compare/a54ec6179b6190a2508d8a437acfd53d85feb5c8...9c2bd6d734e9408868bf7a13d8c8dac29f743c3e

ajones05 commented 8 years ago

I'm still seeing a time stamp of "in 7 hours" on new comments

abdulhafeez commented 8 years ago

Sorry, it was a mistake. Fixed.

ajones05 commented 8 years ago

This is 99% fixed...

only thing is now new comment shows as "just now ago" - it should be "just now" OR "x minutes/hours/days ago"

yuriyua commented 8 years ago

I added "ago" to response from server side (like web version) http://www.seearoundgo.com/admin/mobile-api/get-total-comments/token/381EAHIHPFXBD42L47VSCGXIGD8NZYH37HGG322SHY5Y37I6EEZRXVCE9K59HMCP/news_id/7/submit

ajones05 commented 8 years ago

Thanks @yuriyua except in web version we also have "just now" as time stamp for a new post, not "just now ago" image

yuriyua commented 8 years ago

this issue need to fix from app side

abdulhafeez commented 8 years ago

Fixed