Савинцев Егор 🚶 (savintsev_egor) wrote in changelog,
Савинцев Егор 🚶
savintsev_egor
changelog

[livejournal] r19596: LJSV-1423: Time at S2 styles

Committer: esavintcev
LJSV-1423: Time at S2 styles
U   trunk/bin/upgrading/s2layers/i18nc/ru1.s2
Modified: trunk/bin/upgrading/s2layers/i18nc/ru1.s2
===================================================================
--- trunk/bin/upgrading/s2layers/i18nc/ru1.s2	2011-08-04 08:00:12 UTC (rev 19595)
+++ trunk/bin/upgrading/s2layers/i18nc/ru1.s2	2011-08-04 08:25:20 UTC (rev 19596)
@@ -200,6 +200,7 @@
     var string main_date;
 
     if ($this.time_remote) {
+        $datefmt = ($datefmt->contains("%%a%%m") ? "%%dayord%% %%month%% %%yyyy%%" : $datefmt);
         $main_date = $this.time_remote->date_format($datefmt);
         $main = $main_date;
         $main = $main + " " + $this.time_remote->time_format("short") + " (местное)";

Tags: livejournal, s2, savintsev_egor
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