Alexander Nazarov (nfokz) wrote in changelog,
Alexander Nazarov
nfokz
changelog

[livejournal] r23357: LJSUP-14357: 2. List of messages + Reply...

Committer: anazarov
LJSUP-14357: 2. List of messages + Reply (Lebedev's redesign) - One more format for Date&Time
U   trunk/bin/upgrading/en.dat
U   trunk/cgi-bin/LJ/TimeUtil.pm
Modified: trunk/bin/upgrading/en.dat
===================================================================
--- trunk/bin/upgrading/en.dat	2012-11-26 08:29:19 UTC (rev 23356)
+++ trunk/bin/upgrading/en.dat	2012-11-26 09:00:35 UTC (rev 23357)
@@ -1269,6 +1269,30 @@
 
 date.day.wednesday.short=Wed
 
+date.format.inbox.left.full=%B %D, %Y at %h:%m
+
+date.format.inbox.left.short=%B %D
+
+date.format.inbox.left.today=%h:%m, today
+
+date.format.inbox.left.week=%u
+
+date.format.inbox.left.year=%B %D
+
+date.format.inbox.left.yesterday=yesterday
+
+date.format.inbox.right.full=%B %D, %Y at %h:%m
+
+date.format.inbox.right.short=%B %D, %h:%m
+
+date.format.inbox.right.today=%h:%m, today
+
+date.format.inbox.right.week=%h:%m, %u
+
+date.format.inbox.right.year=%h:%m, %B %D
+
+date.format.inbox.right.yesterday=%h:%m, yesterday
+
 date.format.long|staleness=1
 date.format.long=%B %D, %Y
 

Modified: trunk/cgi-bin/LJ/TimeUtil.pm
===================================================================
--- trunk/cgi-bin/LJ/TimeUtil.pm	2012-11-26 08:29:19 UTC (rev 23356)
+++ trunk/cgi-bin/LJ/TimeUtil.pm	2012-11-26 09:00:35 UTC (rev 23357)
@@ -424,9 +424,12 @@
 my $format_map = {
     qw{
         day        %D
+        week_day   %u
         month      %M
         month_name %B
         year       %Y
+        hour       %h
+        minute     %m
     }
 };
 

Tags: anazarov, dat, livejournal, nfokz, pm
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