[Bug] Time class>>readFrom:

Bert Freudenberg bert at isgnw.CS.Uni-Magdeburg.De
Wed Jan 20 15:48:27 UTC 1999

There is still a bug in Time class>>readFrom: (I wonder since when :-)
I thought I posted the fix a while ago, but it didn't make it into 2.3.
The problem occurs when reading dates with am/pm at the 12th hour:

'12:42 pm' asTime print24     -> '24:42:00'
'12:42 am' asTime print24     -> '12:42:00'

A fix is attached.


  Bert Freudenberg                                            Department of
                                                             Simulation and
  mailto:bert at isg.cs.uni-magdeburg.de                     Computer Graphics
  http://isgwww.cs.uni-magdeburg.de/isg/bert.html        Univ. of Magdeburg

Content-Type: TEXT/PLAIN; charset=US-ASCII; name="Time-class-readFrom.st"
Content-ID: <Pine.GSO.4.05.9901201648270.12867 at luxator>
Content-Description: timeread.st
Content-Disposition: attachment; filename="Time-class-readFrom.st"

Attachment converted: Anon:Time-class-readFrom.st (TEXT/MSIE) (00006409)

More information about the Squeak-dev mailing list