ssafronova (ssafronova) wrote in changelog,
ssafronova
ssafronova
changelog

[livejournal] r17596: LJSV-1088: Minimalism/Russian shows [too...

Committer: ssafronova
LJSV-1088: Minimalism/Russian shows [too_many_fmts] instead of date/time sometimes
U   trunk/cgi-bin/LJ/S2.pm
Modified: trunk/cgi-bin/LJ/S2.pm
===================================================================
--- trunk/cgi-bin/LJ/S2.pm	2010-10-22 11:14:50 UTC (rev 17595)
+++ trunk/cgi-bin/LJ/S2.pm	2010-10-25 03:36:31 UTC (rev 17596)
@@ -3465,7 +3465,7 @@
     $fmt ||= "short";
     my $c = \$ctx->[S2::SCRATCH]->{'_code_datefmt'}->{$fmt};
     return $$c->($this) if ref $$c eq "CODE";
-    if (++$ctx->[S2::SCRATCH]->{'_code_datefmt_count'} > 15) { return "[too_many_fmts]"; }
+    if (++$ctx->[S2::SCRATCH]->{'_code_datefmt_count'} > 50) { return "[too_many_fmts]"; }
     my $realfmt = $fmt;
     if (defined $ctx->[S2::PROPS]->{"lang_fmt_date_$fmt"}) {
         $realfmt = $ctx->[S2::PROPS]->{"lang_fmt_date_$fmt"};

Tags: livejournal, pm, ssafronova
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