Skip to content

Commit

Permalink
Add inspector details view for ZTimestampFormat
Browse files Browse the repository at this point in the history
  • Loading branch information
svenvc committed Sep 22, 2023
1 parent a6637ad commit 200f42d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions repository/ZTimestamp-GT/ZTimestampFormat.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Extension { #name : #ZTimestampFormat }

{ #category : #'*ZTimestamp-GT' }
ZTimestampFormat >> gtViewDetailsIn: composite [
<gtView>
^ 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
]

0 comments on commit 200f42d

Please sign in to comment.