[squeak-dev] The Trunk: System-mt.771.mcz

Bert Freudenberg bert at freudenbergs.de
Tue Oct 20 15:38:55 UTC 2015


On 18.10.2015, at 01:39, 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.771.mcz
> 
> ==================== Summary ====================
> 
> Name: System-mt.771
> Author: mt
> Time: 17 October 2015, 6:38:55.72 pm
> UUID: 4aee8d76-cfcf-ad48-ae3e-6d971ce6fea9
> Ancestors: System-cmm.770
> 
> Log change stamps at the granularity of seconds not only minutes.
> 
> Why? A minute is quite long and it is likely to have two method (versions) with the same timestamp.

Why does the time stamp have to be unique? And it’s still not certain to be unique. IMHO minutes resolution is good enough and reads nicer.

> =============== Diff against System-cmm.770 ===============
> 
> 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 on: s]) copyFrom: 1 to: 8)!
> - 		((String streamContents: [:s | Time now print24: true on: s]) copyFrom: 1 to: 5)!

Btw we do have #print24 nowadays.

- Bert -



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4115 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20151020/c02c6eac/smime.bin


More information about the Squeak-dev mailing list