Skip to content

Commit

Permalink
fix(ns-api): use conventional timezone in connection history CSV export
Browse files Browse the repository at this point in the history
  • Loading branch information
stephdl committed Nov 8, 2024
1 parent be5094d commit abf0ba2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ns-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1737,10 +1737,10 @@ Throws a generic error:

Download the users connection history in a csv file:
```
api-cli ns.ovpnrw connection-history-csv --data '{"instance": "ns_roadwarrior1", "timezone":0}'
api-cli ns.ovpnrw connection-history-csv --data '{"instance": "ns_roadwarrior1", "timezone":"Europe/Rome"}'
```

- `timezone`: it is the offset between your timezone and the universal time (UTC) that is 0
- `timezone`: user timezone, e.g. "Europe/Rome"

Response example:
```json
Expand Down

0 comments on commit abf0ba2

Please sign in to comment.