File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -143,9 +143,10 @@ Output formatting can be configured in multiple ways:
143
143
* Use the ` --format ` option and use formatting pattern (see [ Formatting] ( #formatting ) below):
144
144
145
145
``` 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
148
148
```
149
+
149
150
* Use one of the pre-configured, named formats such as ` iso ` and ` rfc2822 ` :
150
151
151
152
``` console
@@ -160,8 +161,8 @@ Output formatting can be configured in multiple ways:
160
161
or prepended to the command line command, for instance:
161
162
162
163
``` 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
165
166
```
166
167
167
168
### Timezones
You can’t perform that action at this time.
0 commit comments