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

change localtime instead of gmtime on OSD display #39

Merged

Conversation

lida2003
Copy link
Contributor

No description provided.

@lida2003
Copy link
Contributor Author

lida2003 commented Dec 16, 2024

use following commands on openipc camera to configure localtime.

daniel@daniel-nvidia:~/Work/OpenIPC-Adaptive-Link$ ls /usr/share/zoneinfo
Africa      Australia  Cuba     Etc      GMT+0      Iceland      Japan              MET      NZ-CHAT     PRC        SystemV    UTC           Zulu
America     Brazil     EET      Europe   GMT-0      Indian       Kwajalein          Mexico   Pacific     PST8PDT    Turkey     WET
Antarctica  Canada     Egypt    Factory  GMT0       Iran         leapseconds        MST      Poland      right      tzdata.zi  W-SU
Arctic      CET        Eire     GB       Greenwich  iso3166.tab  leap-seconds.list  MST7MDT  Portugal    ROC        UCT        zone1970.tab
Asia        Chile      EST      GB-Eire  Hongkong   Israel       Libya              Navajo   posix       ROK        Universal  zonenow.tab
Atlantic    CST6CDT    EST5EDT  GMT      HST        Jamaica      localtime          NZ       posixrules  Singapore  US         zone.tab
daniel@daniel-nvidia:~/Work/OpenIPC-Adaptive-Link$ ls /usr/share/zoneinfo/Asia/
Aden       Atyrau   Brunei      Damascus   Hebron       Jerusalem  Kolkata       Makassar      Phnom_Penh  Saigon         Tashkent  Ujung_Pandang  Yangon
Almaty     Baghdad  Calcutta    Dhaka      Ho_Chi_Minh  Kabul      Krasnoyarsk   Manila        Pontianak   Sakhalin       Tbilisi   Ulaanbaatar    Yekaterinburg
Amman      Bahrain  Chita       Dili       Hong_Kong    Kamchatka  Kuala_Lumpur  Muscat        Pyongyang   Samarkand      Tehran    Ulan_Bator     Yerevan
Anadyr     Baku     Choibalsan  Dubai      Hovd         Karachi    Kuching       Nicosia       Qatar       Seoul          Tel_Aviv  Urumqi
Aqtau      Bangkok  Chongqing   Dushanbe   Irkutsk      Kashgar    Kuwait        Novokuznetsk  Qostanay    Shanghai       Thimbu    Ust-Nera
Aqtobe     Barnaul  Chungking   Famagusta  Istanbul     Kathmandu  Macao         Novosibirsk   Qyzylorda   Singapore      Thimphu   Vientiane
Ashgabat   Beirut   Colombo     Gaza       Jakarta      Katmandu   Macau         Omsk          Rangoon     Srednekolymsk  Tokyo     Vladivostok
Ashkhabad  Bishkek  Dacca       Harbin     Jayapura     Khandyga   Magadan       Oral          Riyadh      Taipei         Tomsk     Yakutsk
daniel@daniel-nvidia:~/Work/OpenIPC-Adaptive-Link$ sudo ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
daniel@daniel-nvidia:~/Work/OpenIPC-Adaptive-Link$ ls -l /etc/localtime
lrwxrwxrwx 1 root root 33 11月  7 08:40 /etc/localtime -> /usr/share/zoneinfo/Asia/Shanghai

@tipoman9 tipoman9 merged commit 1f48e43 into OpenIPC:main Dec 20, 2024
8 of 9 checks passed
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.

2 participants