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

Mark A. Hershberger <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|Unprioritized               |Normal
                 CC|                            |[email protected]

--- Comment #1 from Mark A. Hershberger <[email protected]> 2012-01-02 
02:25:25 UTC ---
>From [[mw:Help:Extension:ParserFunctions]], "c" is defined as:

  ISO 8601 formatted date, equivalent to Y-m-dTH:i:s+00:00.

Since the timezone is specified for "c", you are seeing the correct output.

Of course, http://php.net/strftime says that "%c" is

  Preferred date and time stamp based on local[e]

And the Linux manpage for strftime (http://linux.die.net/man/3/strftime) says:

  The preferred date and time representation for the current locale.

Berkely manpages (http://compute.cnr.berkeley.edu/cgi-bin/man-cgi?strftime+3)
offers a little more information:

  Locale's appropriate date and time represented as:

  %a %b %d %H:%M:%S %Y

  This is the defaut behavior as  well  as  standard-
  conforming  behavior  for standards first supported
  by releases prior to Solaris 2.4. See standards(5).

So, yes, the mw implementation appears to be wrong.

-- 
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