[Home]WikiBugs/TranslationMonthNames

UseModWiki | WikiBugs | RecentChanges | Preferences

sub CalcDay { ...
    return ($year + 1900) . '-' . ($mon+1) . '-' . $mday;
  }
-  return ("January", "February", "March", "April", "May", "June",
-          "July", "August", "September", "October", "November",
-          "December")[$mon]. " " . $mday . ", " . ($year+1900);
+  return (T('January'), T('February'), T('March'), T('April'), T('May'), T('June'),
+          T('July'), T('August'), T('September'), T('October'), T('November'),
+          T('December')[$mon]. " " . $mday . ", " . ($year+1900);
}

See also: WikiBugs/MonthsInEnglish. Rejected/Fixed (from 0.92): Workaround--numeric dates.

--JuanmaMP


UseModWiki | WikiBugs | RecentChanges | Preferences
Edit text of this page | View other revisions | Search MetaWiki
Last edited July 14, 2009 12:33 am by JuanmaMP (diff)
Search: