[squeak-dev] Date today versus DateAndTime today
bernhard at pieber.com
Wed Dec 8 22:21:43 UTC 2021
I am quite puzzled that the following answers false:
DateAndTime today asDate = Date today.
The reason seems to be the localOffsetSeconds. While DateAndTime today asDate has a local timezone, Date today has not. Shouldn’t this be consistent?
The following answers false as well:
Date today start = DateAndTime today
I assume it is for the same reason.
I suppose this is a feature, not a bug, but what is the reason for this behaviour?
More information about the Squeak-dev