https://bugzilla.wikimedia.org/show_bug.cgi?id=19412

           Summary: #time parser function can't read local language month
                    names
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: ParserFunctions
        AssignedTo: [email protected]
        ReportedBy: [email protected]


On the English Wikipedia, one may use {{#time: Y-F-d  | {{{date}}} }}, with
{{{date}}} being a string such as "15 may 1998".

The same programming cannot be used on the French or any other language
Wikipedia, because a French date like "15 mai 1998" can't be read by the #time
parser function and results in "Error: invalid time".

According to the help page on Mediawiki.org (1), 

« The date/time object can be in any format accepted by PHP's strtotime()
function. ». 

So I guess that this "strtotime function", should be internationalized into
strtotime/fr, strtotime/de, strtotime/es etc...

(1) http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23time:


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to