Re: [bug] "DateTime printOn:" output cannot be parsed with "DateTime readFrom:"

Holger Hans Peter Freyther <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.gnu.general
Message-ID <[email protected]>
On Sun, Aug 24, 2014 at 07:40:59AM -0700, Nikita Kalinin wrote:

Hi!

> Unlike Date, Time, Duration the DateTime instance cannot be initialized
> with a string which is generated by DateTime itself.

> So there is now way to read/write date and time simultaneously.

what do you propose? The >>#displayString is meant to show a represntation
of an object. I think there is no contract that it can be parsed. The
question is what you want to achieve and if following one of the ISO
dates wouldn't be a better approach?

holger
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.