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

Bawolff <bawolff...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bawolff...@gmail.com

--- Comment #3 from Bawolff <bawolff...@gmail.com> 2010-10-08 23:21:59 UTC ---
(In reply to comment #2)
> Hm, it was quite some time ago, and I had to enable error reporting catching
> and backtraces for that, but the gist is, some things (extensions, for 
> example,
> I believe, RSS_Reader) call time() and date() instead of timeanddate() when
> needed, and the $ts argument was not converted into the format sprintfDate()
> expects (which it accesses with substr() out of all things).
> 
> The timeanddate() method used wfTimestamp() for the conversion, but time() and
> date() didn’t.
> 
> This led to wrong timestamps as well as accesses to array index -1 when
> month==0 (to get the human-readable month name).

Wouldn't this be a bug in the extension not mediawiki? The function
documentation says that the first parameter must be in YYYYMMDDHHMMSS format.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to