'9.7.2015' asDate  returns the 7th of September, I would have expected 9th of 
July
because in Date readFrom: comment it is stated:

  readFrom: aStream 
     "Read a Date from the stream in any of the forms: 
      <day> <month> <year>              (15 April 1982; 15-APR-82; 15.4.82; 
15APR82)  
      <month> <day> <year>              (April 15, 1982; 4/15/82)
      <year>-<month>-<day>              (1982-04-15) (ISO8601)"

According to this the order day, month, year with a $. as separator should be 
valid.

When I try '15.4.82' asDate als does not work, it gives an error that the month 
is exceeded with 15...

Looks like this is not correctly implemented/backed up by tests. Or the comment 
is just wrong.
Should I open an issue?

Thanks
T. 




Reply via email to