[squeak-dev] The Trunk: Kernel-bf.701.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Jul 3 16:33:31 UTC 2012

Bert Freudenberg uploaded a new version of Kernel to project The Trunk:

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

Name: Kernel-bf.701
Author: bf
Time: 3 July 2012, 6:32:34.351 pm
UUID: 25125f3c-0ab4-4421-aef5-71cb84f20fa8
Ancestors: Kernel-eem.700

Fix for Date yesterday - Date today (thanks to Glen Paling for finding this)

=============== Diff against Kernel-eem.700 ===============

Item was changed:
  ----- Method: DateAndTime class>>todayAtNanoSeconds:offset: (in category 'squeak protocol') -----
  todayAtNanoSeconds: nanoSecondsSinceMidnight offset: aDuration
  	"This is usually only during system startup..."
  	self waitForOffsets.
  	^ self basicNew
  			setJdn: DaysSinceEpoch 
  			seconds: (nanoSecondsSinceMidnight // 1000000000) 
  			nano: (nanoSecondsSinceMidnight  \\ 1000000000  ) 
+ 			offset: aDuration
- 			offset: self localOffset

More information about the Squeak-dev mailing list