Discussion:
The Trunk: Chronology-Tests-cmm.11.mcz
(too old to reply)
c***@source.squeak.org
0000-11-19 04:41:48 UTC
Permalink
Chris Muller uploaded a new version of Chronology-Tests to project The Trunk:
http://source.squeak.org/trunk/Chronology-Tests-cmm.11.mcz

==================== Summary ====================

Name: Chronology-Tests-cmm.11
Author: cmm
Time: 17 November 2018, 10:40:40.86556 pm
UUID: 13d8a1e2-6c40-453d-ae49-ea6326bac912
Ancestors: Chronology-Tests-dtl.10

New test to expose critical bug in the proposed UTCDateAndTime.

=============== Diff against Chronology-Tests-dtl.10 ===============

Item was added:
+ ----- Method: DateAndTimeTest>>testRestoreFromChronologyTicksAndOffset (in category 'Tests') -----
+ testRestoreFromChronologyTicksAndOffset
+ "Legacy serialized instances are made up of 3 SmallIntegers knowns as 'ticks' plus an 'offset' Duration. Ensure a serialized DateAndTime can be correctly restored from these values."
+ | dt newDt |
+ dt := '2018-11-17T14:19:42.887676-06:00' asDateAndTime.
+ newDt := DateAndTime basicNew ticks: dt ticks offset: dt o
David T. Lewis
2018-11-18 17:45:56 UTC
Permalink
Post by c***@source.squeak.org
http://source.squeak.org/trunk/Chronology-Tests-cmm.11.mcz
==================== Summary ====================
Name: Chronology-Tests-cmm.11
Author: cmm
Time: 17 November 2018, 10:40:40.86556 pm
UUID: 13d8a1e2-6c40-453d-ae49-ea6326bac912
Ancestors: Chronology-Tests-dtl.10
New test to expose critical bug in the proposed UTCDateAndTime.
Good catch, the fix for the UTC flavor of Chronology is on squeaksource
in Chronology-Core-dtl.32.mcz.

Dave

Loading...