Closed Bug 734247 Opened 13 years ago Closed 13 years ago

Social code should do time created formatting

Categories

(Pancake Graveyard :: Back-end, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: st3fan, Unassigned)

Details

Previously the python code would format the time_delta field in the social items with a human readable string like '10 minutes ago'. The library used for that disappeard from the python archives and I also think that formatting like that should happen in the frontend instead. So I have deprecated the time_delta field and instead added a 'created' field which contains a unix timestamp (integer) value. Maybe http://momentjs.com/ is a good candidate to do the formatting?
Summary: Frontend should format social item time formatting → Social code should do time created formatting
Component: Front-end → Back-end
QA Contact: frontend → backend
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.