Closed
Bug 734247
Opened 13 years ago
Closed 13 years ago
Social code should do time created formatting
Categories
(Pancake Graveyard :: Back-end, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
M1
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?
Reporter | ||
Updated•13 years ago
|
Summary: Frontend should format social item time formatting → Social code should do time created formatting
Reporter | ||
Updated•13 years ago
|
Component: Front-end → Back-end
QA Contact: frontend → backend
Reporter | ||
Comment 1•13 years ago
|
||
Fixed with https://bitbucket.org/mozillapancake/pancake/changeset/6f73ba41cc6c
Deployed.
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.
Description
•