[squeak-dev] The Trunk: System-mt.1169.mcz
Eliot Miranda
eliot.miranda at gmail.com
Tue Aug 18 15:13:53 UTC 2020
Hi Marcel, hi all,
this reminds me I think we also need something that answers an actual TimeStamp or DateAndTime instance for a CompiledMethod. Unfortunately timeStamp is already in use as the selector for a method’s change stamp string. In an ideal world CompiledMethod>>#timeStamp would be renamed to CompiledMethod>>#changeStamp and CompiledMethod>>#timeStamp would answer a DateAndTime of either the method’s changeStamp time or the epoch, if it had none.
_,,,^..^,,,_ (phone)
> On Aug 17, 2020, at 3:54 AM, commits at source.squeak.org wrote:
>
> Marcel Taeumel uploaded a new version of System to project The Trunk:
> http://source.squeak.org/trunk/System-mt.1169.mcz
>
> ==================== Summary ====================
>
> Name: System-mt.1169
> Author: mt
> Time: 17 August 2020, 12:54:05.667289 pm
> UUID: dfd26c6f-79f7-f146-95c1-78751d5f8f13
> Ancestors: System-eem.1168
>
> Clarify implementation of method timestamps.
>
> Note that #hhmm24 cannot be used here, because it has no colon separator.
>
> =============== Diff against System-eem.1168 ===============
>
> Item was changed:
> ----- Method: Utilities class>>changeStamp (in category 'identification') -----
> changeStamp
> "Answer a string to be pasted into source code to mark who changed it and when."
> ^ self authorInitials , ' ' , Date today mmddyyyy, ' ',
> + (String streamContents: [:s | Time now print24: true showSeconds: false on: s])!
> - ((String streamContents: [:s | Time now print24: true on: s]) copyFrom: 1 to: 5)!
>
>
More information about the Squeak-dev
mailing list
|