File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -143,9 +143,10 @@ Output formatting can be configured in multiple ways:
143143* Use the ` --format ` option and use formatting pattern (see [ Formatting] ( #formatting ) below):
144144
145145 ``` console
146- $ WHENFORMAT= '%a %b %d %Y %T %!c' when --source Seattle
147- Tue Feb 04 2025 17:40:09 Seattle, Washington, US, America/Los_Angeles
146+ $ when --format '%a %b %d %Y %T %!c' --source Seattle
147+ Tue Feb 04 2025 17:40:11 Seattle, Washington, US, America/Los_Angeles
148148 ```
149+
149150* Use one of the pre-configured, named formats such as ` iso ` and ` rfc2822 ` :
150151
151152 ``` console
@@ -160,8 +161,8 @@ Output formatting can be configured in multiple ways:
160161 or prepended to the command line command, for instance:
161162
162163 ``` console
163- $ when --format '%a %b %d %Y %T %!c' --source Seattle
164- Tue Feb 04 2025 17:40:11 Seattle, Washington, US, America/Los_Angeles
164+ $ WHENFORMAT= '%a %b %d %Y %T %!c' when --source Seattle
165+ Tue Feb 04 2025 17:40:09 Seattle, Washington, US, America/Los_Angeles
165166 ```
166167
167168### Timezones
You can’t perform that action at this time.
0 commit comments