changelog_bot (changelog_bot) wrote in changelog,
changelog_bot
changelog_bot
changelog

[livejournal] r17685: OPSC-175 Relative time format added when...

Committer: vtroitsky
OPSC-175 Relative time format added when showing activities.

U   trunk/htdocs/userinfo.bml
Modified: trunk/htdocs/userinfo.bml
===================================================================
--- trunk/htdocs/userinfo.bml	2010-11-15 10:11:27 UTC (rev 17684)
+++ trunk/htdocs/userinfo.bml	2010-11-15 11:04:41 UTC (rev 17685)
@@ -1561,7 +1561,7 @@
                         app_image => $app->image,
                         title     => $_->{title},
                         body      => $_->{body},
-                        date      => substr(LJ::TimeUtil->mysql_time($_->{ts_create}), 0, 16),
+                        date      => LJ::TimeUtil->ago_text(time() - $_->{ts_create}),
                     };
                 }
             }

Tags: bml, livejournal, sunnyman
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments