android - Facebook time format? -
quick question: there easy way convert raw time given facebook api time format seen on facebook app? if else fails, new algorithm written, i'm sure it's out there (but apparently not on - searched that).
the time on facebook app goes so: "3 seconds ago" "5 minutes ago" "19 hours ago" "yesterday @ blah blah" etc. etc.
thanks!
take @ prettytime library. it's easy use. example:
prettytime prettytime = new prettytime(locale.getdefault()); string thestring = prettytime.format(thedate); android facebook facebook-graph-api datetime
No comments:
Post a Comment