Date fromString: '6-Jan-10'

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Date fromString: '6-Jan-10'

Stephan Eggermont-3
The real life situation with date strings is much worse.
I live in a city (Zoetermeer) where a passport was issued
with the holders birthdate being 00-00-1972.

I'm very much in favor of not trying to be clever in the
core Date classes, and to provide separate guessing logic,
properly internationalized. The current readFrom: is not
usefull at all, except in the US. And even there it simply
breaks on real-life data.

Stephan

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project