unifi-protect-video-downloader
unifi-protect-video-downloader copied to clipboard
Recording output file name can have wrong time zone
Discussed in https://github.com/danielfernau/unifi-protect-video-downloader/discussions/282
Originally posted by NikeNut February 20, 2023 First of all, thank you for building this!
I would like to have the output subfolders and file name be my local time, but it is be written out in UTC time. Through the Unifi OS GUI, I have the time zone set to my local zone. After ssh-ing and running timedatectl
, the output is the following:
Local time: Sun 2023-02-19 20:30:09 EST
Universal time: Mon 2023-02-20 01:30:09 UTC
RTC time: Mon 2023-02-20 01:30:10
Time zone: EST5EDT (EST, -0500)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
root@CloutKey:~# hwclock
2023-02-19 20:36:24.607507-05:00
Do I need to change the RTC time?
Any suggestions?
Solution provided by the author of the discussion: https://github.com/danielfernau/unifi-protect-video-downloader/discussions/282#discussioncomment-5056452