holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[livejournal] r22841: LJSUP-13558: Change date format of creat...

Committer: akanashin
LJSUP-13558: Change date format of creation date and last updated
U   trunk/cgi-bin/LJ/User.pm
Modified: trunk/cgi-bin/LJ/User.pm
===================================================================
--- trunk/cgi-bin/LJ/User.pm	2012-09-07 13:30:27 UTC (rev 22840)
+++ trunk/cgi-bin/LJ/User.pm	2012-09-07 13:46:31 UTC (rev 22841)
@@ -1740,10 +1740,10 @@
 
     if ($opts{'format'}) {
         if ($u->can_show_full_bday && $day > 0 && $mon > 0 && $year > 0) {
-            $mon = LJ::Lang::ml(LJ::Lang::month_long_langcode($mon)); 
+            $mon = LJ::Lang::ml(LJ::Lang::month_long_genitive_langcode($mon)); 
             $bday_string = sprintf("%02d %s %04d", $day, $mon, $year);
         } elsif ($u->can_show_bday && $day > 0 && $mon > 0) {
-            $mon = LJ::Lang::ml(LJ::Lang::month_long_langcode($mon)); 
+            $mon = LJ::Lang::ml(LJ::Lang::month_long_genitive_langcode($mon)); 
             $bday_string = sprintf("%02d %s", $day, $mon);
         } elsif ($u->can_show_bday_year && $year > 0) {
             $bday_string = $year;

Tags: akanashin, holyandrew, livejournal, 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