Skip to content

Commit

Permalink
Clarify that timestamp args of PWR accept input with or without time …
Browse files Browse the repository at this point in the history
…zone

When no time zone is explicitly set, PWR falls back to the local system time
zone.

References: PGCP-71.

Signed-off-by: Israel Barth Rubio <[email protected]>
  • Loading branch information
barthisrael committed Mar 18, 2024
1 parent e4d4160 commit 0471a0f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions product_docs/docs/pwr/1/using.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ pwr execute --host-name myserver --sampling-start '2024-01-10 09:00+00' \
--report-name 'Jan10_incident' my-oltp postgres
```

!!! Note
`--sampling-start` and `--sampling-end` accept both timestamps with or without time zone. If no time zone is explicitly set in the timestamp(s), PWR uses the system time zone.
!!!

Run `pwr execute -h` to get the full list of options available.

## Example for the `report` option
Expand Down

0 comments on commit 0471a0f

Please sign in to comment.