Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve timezone handling in connection history CSV export #892

Merged
merged 2 commits into from
Nov 8, 2024

Conversation

stephdl
Copy link
Contributor

@stephdl stephdl commented Nov 8, 2024

Enhance the connection history CSV export by using conventional timezones instead of offsets, ensuring accurate time representation.

root@NethSec:~# cat /var/run/ns-api-server/downloads/connection_history.csv
Started (Europe/Paris),Ended (Europe/Paris),Duration (seconds),User,Virtual IP,Remote IP,Received (bytes),Sent (bytes)
2024-10-22 12:21:29,,0,elena,10.9.9.41,xx.xx.xx.xx,0,0
2024-10-22 10:40:34,,0,andrea,10.9.9.42,xx.xx.xx.xx,0,0
2024-10-22 09:45:47,,0,elpidio,10.9.9.42,xx.xx.xx.xx,0,0

#869

packages/ns-api/files/ns.ovpnrw Outdated Show resolved Hide resolved
packages/ns-api/files/ns.ovpnrw Outdated Show resolved Hide resolved
packages/ns-api/files/ns.ovpnrw Outdated Show resolved Hide resolved
packages/ns-api/README.md Outdated Show resolved Hide resolved
@stephdl stephdl force-pushed the sdl_localized_time branch 2 times, most recently from 4538ede to 4205e3e Compare November 8, 2024 10:49
@stephdl stephdl requested a review from andre8244 November 8, 2024 11:24
@stephdl stephdl force-pushed the sdl_localized_time branch from 88f37c6 to abf0ba2 Compare November 8, 2024 13:29
@gsanchietti gsanchietti merged commit 3c2be7b into main Nov 8, 2024
1 check passed
@gsanchietti gsanchietti deleted the sdl_localized_time branch November 8, 2024 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants