Hi, I created a bug, hoping that I filled out every field correctly. https://pharo.fogbugz.com/f/cases/11222/Date-readFrom-pattern-year-2-decimal... Sabine On Wed, Jul 24, 2013 at 9:52 AM, Stéphane Ducasse [via Smalltalk] <ml-node+s1294792n4700428h63@n4.nabble.com> wrote:
Hello Sabine probably a bug. If you can write some tests and publish them on the bugtracker this will help. If you provide the fix (it will be faster to get it fixed) please run the tests to make sure that we do not introduce side effects.
Stef
Hi,
Date readFrom: '4.2.13' readStream pattern: 'd.m.yy'
Does not return 4.2.2013 but 4.2.0013
The comment is saying "A year given using only two decimals is considered to be >2000"
So, the comment is not ok or this is a bug?
Sabine
-- View this message in context: http://forum.world.st/Bug-in-Date-readFrom-pattern-Pharo2-0-tp4700427.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
________________________________ If you reply to this email, your message will be added to the discussion below: http://forum.world.st/Bug-in-Date-readFrom-pattern-Pharo2-0-tp4700427p470042... To unsubscribe from Bug in Date>>readFrom:pattern: ? Pharo2.0, click here. NAML
-- View this message in context: http://forum.world.st/Bug-in-Date-readFrom-pattern-Pharo2-0-tp4700427p470044... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.