#BUGFIX by cg
class: Timestamp::TimestampISO8601Builder class
changed: #print:compact:asLocal:asUTC:subSecondDigits:suppressZeroSubSecondDigits:timeSeparator:timeOnly:on:
backward compatible behavior when printing
timestamps without millis.
--- a/Timestamp.st Wed May 16 12:47:21 2018 +0200
+++ b/Timestamp.st Wed May 16 14:49:43 2018 +0200
@@ -4261,7 +4261,7 @@
compact ifFalse:[ aStream nextPut: $:].
timeInfo seconds printOn:aStream leftPaddedTo:2 with:$0.
- numDigits == 3 ifTrue:[
+ (numDigits == 3 and:[suppressZeroSubSecondDigits not]) ifTrue:[
"/ special case, because it is so common
aStream nextPut: $..
aTimestamp milliseconds printOn:aStream leftPaddedTo:3 with:$0.