Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Missing "how to manually adjust the date" section on the date-time page

Offen
#646 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
42/100
Issue-Typ
Dokumentation
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
bash, linux

Rechercherichtung

Beginnen Sie mit der Datums-/Zeitseite unter docs.voidlinux.org/config/date-time.html und prüfen Sie das gemeldete date/date --set-Transkript. Fügen Sie ein Beispiel für das manuelle Setzen des Datums hinzu und gehen Sie auf die Frage ein, ob dhcpcd die DHCP-Option 42 für einen lokalen NTP-Server verwendet; überprüfen Sie anschließend die gerenderte Dokumentation.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

https://docs.voidlinux.org/config/date-time.html

Does not have any example how to fix the date and time on a system with incorrect date and time..

xpbs-install -S chrony wouldn't work because the ssl cert was so far in the future..

Can we get an example of,

To set the date on a local system, where the local date and time is very out of sync..

date --set="20210316 14:10"

The would set the date to March 16th, 2021 and it is 2:10pm.

(then I could do xbps-install.. chrony.. etc..)

[root@voidME ~]# xbps-install -S chrony rsync 
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/musl/x86_64-musl-repodata' ...
Certificate verification failed for /C=US/O=Let's Encrypt/CN=R3
SSL_connect returned 1
ERROR: [reposync] failed to fetch file `https://alpha.de.repo.voidlinux.org/current/musl/x86_64-musl-repodata': Operation not permitted
[root@voidME ~]# ntpdate
bash: ntpdate: command not found
[root@voidME ~]# date
Thu Jun 28 11:37:47 EDT 2018
[root@voidME ~]# date --set="20210316 14:10"
Tue Mar 16 14:10:00 EDT 2021
[root@voidME ~]# date
Tue Mar 16 14:10:01 EDT 2021
[root@voidME ~]# xbps-install -S chrony rsync 
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/musl/x86_64-musl-repodata' ...
x86_64-musl-repodata: 1646KB [avg rate: 18MB/s]

Also, my local network exports an ntp server and is running locally.. does the dhcpcd client not look for option 42?

Vorherrschende Sprache
CSS
Sterne
217
Forks
212
Ø Merge
2 T. 21 Std.
Gemergte PRs (30 T.)
1

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus void-linux/void-docs

Alle Issues in void-linux/void-docs

Ähnliche Issues

Weitere Issues zu Documentation

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.