diff --git a/repository/ZTimestamp-GT/ZTimestampFormat.extension.st b/repository/ZTimestamp-GT/ZTimestampFormat.extension.st new file mode 100644 index 0000000..a94a03e --- /dev/null +++ b/repository/ZTimestamp-GT/ZTimestampFormat.extension.st @@ -0,0 +1,15 @@ +Extension { #name : #ZTimestampFormat } + +{ #category : #'*ZTimestamp-GT' } +ZTimestampFormat >> gtViewDetailsIn: composite [ + + ^ composite columnedList + title: 'Details'; + items: [ {('specification by example' -> self specification). + ('now' -> (self format: ZTimestamp now)). + ('elements' -> (self specificationElements)). + ('timezone' -> (self timezone ifNil: [ #UTC ])) } ]; + column: 'Key' text: #key; + column: 'Value' text: #value; + send: #value +]