I think this is a good addition and tried to copy the versions to the trunk. Now <a href="http://source.squeak.org">source.squeak.org</a> seems to be dead. :-]<br><br>Alex<br><br><div class="gmail_quote">On Tue, Sep 1, 2009 at 11:44 AM, Tim Felgentreff <span dir="ltr">&lt;<a href="mailto:tim@nada1.de">tim@nada1.de</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello<br>
<br>
Some time ago when I was parsing a lot of date+time strings from the web I came across quite a few who did not quite adhere to standards, so they would sometimes not get parsed properly.<br>
Currently the logic in parsing dates in &quot;Date&gt;&gt;readFrom:&quot; and times in &quot;Time&gt;&gt;readFrom:&quot; isnot used in &quot;DateAndTime&gt;&gt;readFrom:&quot;, so I thought why not have the code in one place only and make it a bit more forgiving.<br>


So I added nanoSecond parsing to the Time&gt;&gt;readFrom: and ISO8601-format parsing to Date&gt;&gt;readFrom:. Now DateAndTime&gt;&gt;readFrom: just uses those two methods and only parses the optional offset at the end.<br>


The tests run through and I also added one test and changed another to test the &quot;new&quot; format allowed for Date and Time respectively.<br>
I&#39;m not sure if something as this should be changed just like that, but I thought offering it can&#39;t hurt.<br><font color="#888888">
<br>
--<br>
Regards, Tim<br>
<br>
</font></blockquote></div><br>