I also hate #yyyymmdd Date today yyyymmdd -> '2013-07-24'
I would expect '20130724' Cheers, On Wed, Jul 24, 2013 at 5:59 AM, Sabine Knöfel <[email protected]>wrote: > 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-decimals-not-20xx-but-00xx > > Sabine > > On Wed, Jul 24, 2013 at 9:52 AM, Stéphane Ducasse [via Smalltalk] > <[hidden email] <http://user/SendEmail.jtp?type=node&node=4700443&i=0>> > 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-tp4700427p4700428.html > > To unsubscribe from Bug in Date>>readFrom:pattern: ? Pharo2.0, click > here. > > NAML > > ------------------------------ > View this message in context: Re: Bug in Date>>readFrom:pattern: ? > Pharo2.0<http://forum.world.st/Bug-in-Date-readFrom-pattern-Pharo2-0-tp4700427p4700443.html> > > Sent from the Pharo Smalltalk Users mailing list > archive<http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html>at > Nabble.com. > -- Mariano http://marianopeck.wordpress.com
