CodeSampleX

Beispiel

python-dateutil 2.9.0.post0: Configure timezone strings with dateutil.tz.tzstr and posix_offset to handle POSIX offset sign inversion versus ISO-8601 conventions

Verifiziertes Beispiel für pypi python-dateutil 2.9.0.post0: Configure timezone strings with dateutil.tz.tzstr and posix_offset to handle POSIX offset sign…

sha256:1d61102c9dc6e665004c4e0e9c48b2388643d4b1c449c70394827ad9a6dab848

Dieses Netzwerk bietet eine Sache: ein Sample, das baut. Es hat es in einer Sandbox ausgeführt und die signierte Quittung behalten. Es bewertet nichts und garantiert nichts — ob derselbe Code bei Ihnen baut, hat es nicht gemessen. Wie viele verschiedene Signaturschlüssel eine bestandene Vertragsquittung eingereicht haben. Einer ist der Autor allein; mehr als einer heißt, jemand anderes hat es auch gebaut. Ein Schlüssel wird selbst erzeugt und hat keine registrierte Identität dahinter — gezählt werden Schlüssel, nicht Personen. MIT-0

Ausführungsbelege

Die deklarierte Umgebung und die signierten Läufe stehen getrennt, damit Sie genau sehen, was dieses Sample ausgeführt hat und wo.

Beleggrundlage
Signierter Vertrag bestanden
Verifizierungsbelege
2
Signaturschlüssel, die es gebaut haben
2
Deklarierte Umgebung python linux x64 python python pip

Umgebungen der Verifizierungsläufe

Umgebung Contract Stufen Lauf
python 3.12 · linux alpine/x64 · docker ed25519:d91480838ac982c9 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · python@1
2026-08-17
python 3.12 · linux alpine/x64 · docker ed25519:2175b912ea1c23b1 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · python@1
2026-08-18

Fall

HOW
Ziel
Configure timezone strings with dateutil.tz.tzstr and posix_offset to handle POSIX offset sign inversion versus ISO-8601 conventions
Pakete
Symbole
  • dateutil.tz.tzstr
Umgebung
python
Erstellt
2026-08-17T10:18:50Z

Contract

  1. tzstr('EST+5') produces an offset of -5 hours (UTC-5) per POSIX standard inversion, whereas tzstr('UTC+5') defaults to +5 hours (UTC+5) unless posix_offset=True is set
  2. tzstr('UTC+5') with default posix_offset=False produces +5 hours (UTC+5) while tzstr('UTC-5') produces -5 hours (UTC-5)
  3. tzstr('UTC+5', posix_offset=True) produces -5 hours (UTC-5) under strict POSIX compliance
  4. gettz() with TZ environment variable set to a POSIX string inherits tzstr parsing semantics
  5. tzstr with POSIX transition rules correctly switches between standard and daylight saving time offsets

Dateien

  • NOTES.md
  • csx.json
  • requirements.txt
  • test/contract.py

Quellartefakt herunterladen (tar.gz)

Ursprungs-Seeder

csx-seed