[Bug 28655] Extend ParserFunction {{#time:}} to work with all valid ISO 8601calendar dates

2013-04-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28655 Ryan Kaldari rkald...@wikimedia.org changed: What|Removed |Added Status|REOPENED|RESOLVED

[Bug 28655] Extend ParserFunction {{#time:}} to work with all valid ISO 8601calendar dates

2013-04-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28655 Daniel Friesen mediawiki-b...@nadir-seen-fire.com changed: What|Removed |Added CC|

[Bug 28655] Extend ParserFunction {{#time:}} to work with all valid ISO 8601calendar dates

2011-12-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28655 Platonides platoni...@gmail.com changed: What|Removed |Added CC||platoni...@gmail.com

[Bug 28655] Extend ParserFunction {{#time:}} to work with all valid ISO 8601calendar dates

2011-12-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28655 Siebrand s.mazel...@xs4all.nl changed: What|Removed |Added CC||s.mazel...@xs4all.nl

[Bug 28655] Extend ParserFunction {{#time:}} to work with all valid ISO 8601calendar dates

2011-12-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28655 --- Comment #18 from Ryan Kaldari rkald...@wikimedia.org 2011-12-21 22:20:12 UTC --- Per discussion with Niklas, we never implemented support for |user. It's been a long time, so I don't remember the reasoning, but maybe Niklas does. --

[Bug 28655] Extend ParserFunction {{#time:}} to work with all valid ISO 8601calendar dates

2011-12-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28655 --- Comment #19 from Siebrand s.mazel...@xs4all.nl 2011-12-21 22:36:07 UTC --- (In reply to comment #18) Per discussion with Niklas, we never implemented support for |user. It's been a long time, so I don't remember the reasoning, but maybe

[Bug 28655] Extend ParserFunction {{#time:}} to work with all valid ISO 8601calendar dates

2011-12-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28655 --- Comment #20 from Ryan Kaldari rkald...@wikimedia.org 2011-12-21 22:41:46 UTC --- That would make sense. You can work around it on some wikis though (Commons), by using {{int:lang}} as the parameter. -- Configure bugmail:

[Bug 28655] Extend ParserFunction {{#time:}} to work with all valid ISO 8601calendar dates

2011-12-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28655 --- Comment #21 from Happy-melon happy.melon.w...@gmail.com 2011-12-21 22:56:19 UTC --- (In reply to comment #20) You can work around it You mean, you can use the *other* cache-polluting hack we haven't got round to fixing yet... :p --

[Bug 28655] Extend ParserFunction {{#time:}} to work with all valid ISO 8601calendar dates

2011-12-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28655 --- Comment #22 from Ryan Kaldari rkald...@wikimedia.org 2011-12-21 23:09:30 UTC --- I'm not advocating it, just stating that it's possible :) I'll be glad when we have Bug 32618 resolved so we can deal with this stuff sensibly. BTW, PHP bug

[Bug 28655] Extend ParserFunction {{#time:}} to work with all valid ISO 8601calendar dates

2011-12-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28655 Ryan Kaldari rkald...@wikimedia.org changed: What|Removed |Added AssignedTo|wikibugs-l@lists.wikimedia.

[Bug 28655] Extend ParserFunction {{#time:}} to work with all valid ISO 8601calendar dates

2011-08-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28655 --- Comment #16 from Gustronico gustron...@gmail.com 2011-08-20 17:34:57 UTC --- Related bug 30472 opened regarding truncated timestamp as date/time object. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ---

[Bug 28655] Extend ParserFunction {{#time:}} to work with all valid ISO 8601calendar dates

2011-08-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28655 Gustavo gustron...@gmail.com changed: What|Removed |Added Status|RESOLVED|REOPENED

[Bug 28655] Extend ParserFunction {{#time:}} to work with all valid ISO 8601calendar dates

2011-08-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28655 --- Comment #15 from Ryan Kaldari rkald...@wikimedia.org 2011-08-19 19:26:55 UTC --- That's also a bug on the PHP side: $tz = new DateTimeZone(Europe/Amsterdam); $dateObject = new DateTime( '1998', $tz ); echo $dateObject-format( 'Y m d

[Bug 28655] Extend ParserFunction {{#time:}} to work with all valid ISO 8601calendar dates

2011-05-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28655 p858snake p858sn...@gmail.com changed: What|Removed |Added Keywords|bugsmash| --- Comment #13 from

[Bug 28655] Extend ParserFunction {{#time:}} to work with all valid ISO 8601calendar dates

2011-05-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28655 Ryan Kaldari rkald...@wikimedia.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug 28655] Extend ParserFunction {{#time:}} to work with all valid ISO 8601calendar dates

2011-04-25 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28655 --- Comment #10 from Ryan Kaldari rkald...@wikimedia.org 2011-04-26 00:37:10 UTC --- Language support fixed in r86927. You can now pass a language code or 'user' as a 2nd parameter: {{#time:d F Y|1988-02-28|ja}} - 28 2月 1988 {{#time:d F

[Bug 28655] Extend ParserFunction {{#time:}} to work with all valid ISO 8601calendar dates

2011-04-25 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28655 --- Comment #11 from Jarek Tuszynski jaroslaw.w.tuszyn...@saic.com 2011-04-26 03:27:50 UTC --- The language support is a great news and hopefully PHP folks can fix bugs 2 and 3. As for issues with XX-XX-XX, I encountered them when trying

[Bug 28655] Extend ParserFunction {{#time:}} to work with all valid ISO 8601calendar dates

2011-04-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28655 Ryan Kaldari rkald...@wikimedia.org changed: What|Removed |Added CC|

[Bug 28655] Extend ParserFunction {{#time:}} to work with all valid ISO 8601calendar dates

2011-04-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28655 --- Comment #2 from Ryan Kaldari rkald...@wikimedia.org 2011-04-24 00:04:52 UTC --- Function is defined here: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/ParserFunctions/ParserFunctions_body.php?view=markup starting at line 422.

[Bug 28655] Extend ParserFunction {{#time:}} to work with all valid ISO 8601calendar dates

2011-04-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28655 --- Comment #3 from Ryan Kaldari rkald...@wikimedia.org 2011-04-24 00:18:15 UTC --- In case #1, the output seems to fail for all years where the last two digits are between 00 and 59 inclusive. Even years like 2010 fail. -- Configure

[Bug 28655] Extend ParserFunction {{#time:}} to work with all valid ISO 8601calendar dates

2011-04-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28655 --- Comment #4 from Ryan Kaldari rkald...@wikimedia.org 2011-04-24 00:47:44 UTC --- The problem here is that PHP's DateTime constructor is interpreting '1945' as 7:45pm. -- Configure bugmail:

[Bug 28655] Extend ParserFunction {{#time:}} to work with all valid ISO 8601calendar dates

2011-04-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28655 --- Comment #5 from Ryan Kaldari rkald...@wikimedia.org 2011-04-24 01:11:03 UTC --- Case #1 fixed in r86805. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Bug 28655] Extend ParserFunction {{#time:}} to work with all valid ISO 8601calendar dates

2011-04-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28655 --- Comment #6 from Ryan Kaldari rkald...@wikimedia.org 2011-04-24 03:23:49 UTC --- Regarding cases 2 and 3: These are also caused by PHP's DateTime constructor. From php.net: ...years below 100 are handled in a special way when the y or yy

[Bug 28655] Extend ParserFunction {{#time:}} to work with all valid ISO 8601calendar dates

2011-04-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28655 --- Comment #7 from Jarek Tuszynski jaroslaw.w.tuszyn...@saic.com 2011-04-24 03:56:46 UTC --- Regarding cases 2 and 3: Can anything be done for those? PHP's DateTime constructor might have made nonsensical (for us) design choices, but does it

[Bug 28655] Extend ParserFunction {{#time:}} to work with all valid ISO 8601calendar dates

2011-04-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28655 --- Comment #8 from Ryan Kaldari rkald...@wikimedia.org 2011-04-24 04:22:06 UTC --- Regarding cases 2 and 3: Yes we could hack these to work by changing 00XX-XX to 00XX-XX-01 before it is passed to DateTime. However, that won't solve the

[Bug 28655] Extend ParserFunction {{#time:}} to work with all valid ISO 8601calendar dates

2011-04-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28655 --- Comment #9 from Ryan Kaldari rkald...@wikimedia.org 2011-04-24 04:52:50 UTC --- Filed a bug against PHP for cases 2 and 3: http://bugs.php.net/bug.php?id=54597 -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email

[Bug 28655] Extend ParserFunction {{#time:}} to work with all valid ISO 8601calendar dates

2011-04-22 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28655 Mark A. Hershberger m...@everybody.org changed: What|Removed |Added Keywords||bugsmash --

[Bug 28655] Extend ParserFunction {{#time:}} to work with all valid ISO 8601calendar dates

2011-04-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28655 Jarek Tuszynski jaroslaw.w.tuszyn...@saic.com changed: What|Removed |Added Keywords||i18n,

[Bug 28655] Extend ParserFunction {{#time:}} to work with all valid ISO 8601calendar dates

2011-04-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28655 Mark A. Hershberger m...@everybody.org changed: What|Removed |Added Priority|Unprioritized |Normal

[Bug 28655] Extend ParserFunction {{#time:}} to work with all valid ISO 8601calendar dates

2011-04-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28655 Happy-melon happy.melon.w...@gmail.com changed: What|Removed |Added CC|